Przeglądaj źródła

Docs: improve quickstart doc (#12205)

Jikkai Xiao 7 lat temu
rodzic
commit
f75ba78cd4

+ 1 - 1
examples/docs/en-US/installation.md

@@ -29,4 +29,4 @@ If you are using CDN, a hello-world page is easy with Element. [Online Demo](htt
 
 <iframe width="100%" height="600" src="//jsfiddle.net/hzfpyvg6/1213/embedded/html,result/" allowpaymentrequest allowfullscreen="allowfullscreen" frameborder="0"></iframe>
 
-If you are using npm and wish to apply webpack, please continue to the next page: Quick Start.
+If you are using npm and wish to apply webpack, please continue to the next page: [Quick Start](/#/en-US/component/quickstart).

+ 4 - 0
examples/docs/en-US/quickstart.md

@@ -2,6 +2,10 @@
 
 This part walks you through the process of using Element in a webpack project.
 
+### Use vue-cli@3
+
+We provide an [Element plugin](https://github.com/ElementUI/vue-cli-plugin-element) for vue-cli@3, which you can use to quickly build an Element-based project.
+
 ### Use Starter Kit
 
 We provide a general [project template](https://github.com/ElementUI/element-starter) for you. For Laravel users, we also have a [template](https://github.com/ElementUI/element-in-laravel-starter). You can download and use them directly.

+ 1 - 1
examples/docs/es/installation.md

@@ -28,4 +28,4 @@ Si esta usando un CDN, una página con Hello-World es fácil con Element. [Onlin
 
 <iframe width="100%" height="600" src="//jsfiddle.net/hzfpyvg6/1213/embedded/html,result/" allowpaymentrequest allowfullscreen="allowfullscreen" frameborder="0"></iframe>
 
-Si esta usando npm y desea combinarlo con webpack, por favor continue a la siguiente página: Quick Start
+Si esta usando npm y desea combinarlo con webpack, por favor continue a la siguiente página: [Quick Start](/#/es/component/quickstart)

+ 4 - 0
examples/docs/es/quickstart.md

@@ -2,6 +2,10 @@
 
 Esta sección te guía en el proceso de usar Element con webpack en un proyecto.
 
+### Use vue-cli@3
+
+We provide an [Element plugin](https://github.com/ElementUI/vue-cli-plugin-element) for vue-cli@3, which you can use to quickly build an Element-based project.
+
 ### Usa la plantilla de Kit de inicio
 
 Proveemos una plantilla general [project template](https://github.com/ElementUI/element-starter). Para los usuarios de Laravel, también tenemos [template](https://github.com/ElementUI/element-in-laravel-starter). Puedes descargarlas y agregarlas directamente también.

+ 1 - 1
examples/docs/zh-CN/installation.md

@@ -29,4 +29,4 @@ npm i element-ui -S
 
 <iframe width="100%" height="600" src="//jsfiddle.net/hzfpyvg6/1213/embedded/html,result/" allowpaymentrequest allowfullscreen="allowfullscreen" frameborder="0"></iframe>
 
-如果是通过 npm 安装,并希望配合 webpack 使用,请阅读下一节:快速上手。
+如果是通过 npm 安装,并希望配合 webpack 使用,请阅读下一节:[快速上手](/#/zh-CN/component/quickstart)

+ 4 - 0
examples/docs/zh-CN/quickstart.md

@@ -2,6 +2,10 @@
 
 本节将介绍如何在项目中使用 Element。
 
+### 使用 vue-cli@3
+
+我们为新版的 vue-cli 准备了相应的 [Element 插件](https://github.com/ElementUI/vue-cli-plugin-element),你可以用它们快速地搭建一个基于 Element 的项目。
+
 ### 使用 Starter Kit
 
 我们提供了通用的[项目模板](https://github.com/ElementUI/element-starter),你可以直接使用。对于 Laravel 用户,我们也准备了相应的[模板](https://github.com/ElementUI/element-in-laravel-starter),同样可以直接下载使用。