Browse Source

delete full import doc

pull/165/head
tangjinzhou 7 years ago
parent
commit
8482e28f73
  1. 14
      docs/vue/getting-started.en-US.md
  2. 14
      docs/vue/getting-started.zh-CN.md

14
docs/vue/getting-started.en-US.md

@ -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

14
docs/vue/getting-started.zh-CN.md

@ -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…
Cancel
Save