2016-10-29 23:34:42 +01:00
|
|
|
# vue-cli
|
|
|
|
|
|
|
|
> Simple CLI for scaffolding Vue.js projects.
|
|
|
|
> Official templates include: webpack, webpack-simple, browserify, browserify-simple, simple.
|
|
|
|
|
|
|
|
- Create a new vue project:
|
|
|
|
|
|
|
|
`vue init {{template}} {{project_name}}`
|
|
|
|
|
|
|
|
- Create a new project with a local template:
|
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`vue init {{path/to/template_directory}} {{project_name}}`
|
2016-10-29 23:34:42 +01:00
|
|
|
|
|
|
|
- Create project using template on GitHub:
|
|
|
|
|
|
|
|
`vue init {{username}}/{{repo}} {{project_name}}`
|