Skip to content

Commit 13b84ab

Browse files
author
白唯
committed
feat(完善 type): 将第三方库的类型添加到每一个 vue 组件实例中去
1 parent 372391f commit 13b84ab

19 files changed

+16106
-44
lines changed

.eslintrc.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
module.exports = {
22
root: true,
33
parserOptions: {
4-
parser: 'babel-eslint'
4+
parser: '@typescript-eslint/parser'
55
},
66
env: {
77
browser: true,
88
es6: true
99
},
1010
plugins: ['prettier', 'vue', '@typescript-eslint/eslint-plugin'],
1111
rules: {
12-
'prettier/prettier': 'error'
12+
'prettier/prettier': 'error',
13+
'no-unused-vars': 'off'
1314
},
1415
extends: ['standard', 'plugin:vue/essential', 'plugin:prettier/recommended']
1516
}

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ pnpm-debug.log*
2424

2525
# local docs
2626
todo-list.md
27-
*todo-list*.md
27+
*todo-list*.md
28+
docs

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 0.1.3 (2020-09-04)
2+
3+
4+
### Bug Fixes
5+
6+
* **修复提交工具:** 更改git-cz 配置文件 372391f
7+
8+
9+
### Features
10+
11+
* **基础代码架构:** 项目基础代码初始化,目前只有vue 全家桶 d4e8514
12+
* **项目搭建:** 初步完成除了UI 库以外的基础配置 f3da208
13+
14+
15+
116
## 0.1.2 (2020-09-03)
217

318

babel.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
2-
presets: ['@vue/cli-plugin-babel/preset']
2+
presets: ['@vue/cli-plugin-babel/preset'],
3+
plugins: [['import', { libraryName: 'ant-design-vue', libraryDirectory: 'es', style: true }]]
34
}

0 commit comments

Comments
 (0)