mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 11:38:36 +08:00
delete full import doc
This commit is contained in:
parent
cfcf04a474
commit
89a29529eb
@ -37,20 +37,6 @@ $ vue init webpack antd-demo
|
||||
$ npm i --save vue-antd-ui
|
||||
```
|
||||
|
||||
**Fully import**
|
||||
```jsx
|
||||
import Vue from 'vue'
|
||||
import antd from 'vue-antd-ui'
|
||||
import App from './App'
|
||||
Vue.config.productionTip = false
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
components: { App },
|
||||
template: '<App/>'
|
||||
})
|
||||
```
|
||||
|
||||
**Only import the components you need**
|
||||
```jsx
|
||||
|
@ -38,20 +38,6 @@ $ vue init webpack antd-demo
|
||||
$ npm i --save vue-antd-ui
|
||||
```
|
||||
|
||||
**完整导入**
|
||||
```jsx
|
||||
import Vue from 'vue'
|
||||
import antd from 'vue-antd-ui'
|
||||
import App from './App'
|
||||
Vue.config.productionTip = false
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
components: { App },
|
||||
template: '<App/>'
|
||||
})
|
||||
```
|
||||
|
||||
**局部导入组件**
|
||||
```jsx
|
||||
|
Loading…
Reference in New Issue
Block a user