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
3737$ npm i --save vue-antd-ui
3838```
3939
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- ```
5440
5541** Only import the components you need**
5642``` jsx
Original file line number Diff line number Diff line change @@ -38,20 +38,6 @@ $ vue init webpack antd-demo
3838$ npm i --save vue-antd-ui
3939```
4040
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- ```
5541
5642** 局部导入组件**
5743``` jsx
You can’t perform that action at this time.
0 commit comments