Skip to content

Commit

Permalink
❤️ 添加完ts模块
Browse files Browse the repository at this point in the history
  • Loading branch information
2662419405 committed Jan 3, 2020
1 parent c99a9f5 commit f1d3127
Show file tree
Hide file tree
Showing 17 changed files with 12,229 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
8. github学习koa -> [koa](/koaGithub)
9. vueSSR渲染 -> [nuxt](/nuxt)
10. vue原生ssr -> [ssr](/ssr)
11. vue ts测试 -> [ts](/ts)
11. vue ts测试 -> [ts](/vue-ts)
21 changes: 21 additions & 0 deletions vue-ts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
29 changes: 29 additions & 0 deletions vue-ts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# vue-ts

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your unit tests
```
npm run test:unit
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions vue-ts/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
Loading

0 comments on commit f1d3127

Please sign in to comment.