From 8482e28f73f2ed0bebd078dd37ac51140be531f6 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 20 Apr 2018 10:33:47 +0800 Subject: [PATCH] delete full import doc --- docs/vue/getting-started.en-US.md | 14 -------------- docs/vue/getting-started.zh-CN.md | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/docs/vue/getting-started.en-US.md b/docs/vue/getting-started.en-US.md index a9a435cdc..dc3444993 100644 --- a/docs/vue/getting-started.en-US.md +++ b/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: '' -}) -``` **Only import the components you need** ```jsx diff --git a/docs/vue/getting-started.zh-CN.md b/docs/vue/getting-started.zh-CN.md index c5b3c15fa..0732c6dc4 100644 --- a/docs/vue/getting-started.zh-CN.md +++ b/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: '' -}) -``` **局部导入组件** ```jsx