File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -37,20 +37,6 @@ $ vue init webpack antd-demo
37
37
$ npm i --save vue-antd-ui
38
38
```
39
39
40
- ** Fully import**
41
- ``` jsx
42
- import Vue from ' vue'
43
- import antd from ' vue-antd-ui'
44
- import App from ' ./App'
45
- Vue .config .productionTip = false
46
-
47
- /* eslint-disable no-new */
48
- new Vue ({
49
- el: ' #app' ,
50
- components: { App },
51
- template: ' <App/>'
52
- })
53
- ```
54
40
55
41
** Only import the components you need**
56
42
``` jsx
Original file line number Diff line number Diff line change @@ -38,20 +38,6 @@ $ vue init webpack antd-demo
38
38
$ npm i --save vue-antd-ui
39
39
```
40
40
41
- ** 完整导入**
42
- ``` jsx
43
- import Vue from ' vue'
44
- import antd from ' vue-antd-ui'
45
- import App from ' ./App'
46
- Vue .config .productionTip = false
47
-
48
- /* eslint-disable no-new */
49
- new Vue ({
50
- el: ' #app' ,
51
- components: { App },
52
- template: ' <App/>'
53
- })
54
- ```
55
41
56
42
** 局部导入组件**
57
43
``` jsx
You can’t perform that action at this time.
0 commit comments