vue: add Chinese translation and a outdated doc notice
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
51b9725280
commit
56a1739937
18
pages.zh/common/vue.md
Normal file
18
pages.zh/common/vue.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# vue-cli
|
||||
|
||||
> 用于初始化Vue.js项目的CLI.
|
||||
> 本帮助适用于旧的 `vue-cli@2` 和 `@vue/cli-init` 插件, 新版CLI文档请参见更多信息
|
||||
> 官方模板包括: webpack, webpack-simple, browserify, browserify-simple, simple.
|
||||
> 更多信息: <https://cli.vuejs.org>.
|
||||
|
||||
- 从模板创建新项目:
|
||||
|
||||
`vue init {{template}} {{project_name}}`
|
||||
|
||||
- 从本地模板创建新项目:
|
||||
|
||||
`vue init {{path/to/template_directory}} {{project_name}}`
|
||||
|
||||
- 从Github上拉取模板并创建新项目:
|
||||
|
||||
`vue init {{username}}/{{repo}} {{project_name}}`
|
Reference in New Issue
Block a user