mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:22:09 +02:00
vue: add Chinese translation and a outdated doc notice
This commit is contained in:
parent
51b9725280
commit
56a1739937
1 changed files with 18 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue