tldr/pages/common/vue.md

18 lines
461 B
Markdown

# vue-cli
> Simple CLI for scaffolding Vue.js projects.
> Official templates include: webpack, webpack-simple, browserify, browserify-simple, simple.
> Homepage: <https://cli.vuejs.org>.
- Create a new vue project:
`vue init {{template}} {{project_name}}`
- Create a new project with a local template:
`vue init {{path/to/template_directory}} {{project_name}}`
- Create project using template on GitHub:
`vue init {{username}}/{{repo}} {{project_name}}`