mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 15:59:24 +00:00
Update cheatsheets
This commit is contained in:
21
vue-init
Normal file
21
vue-init
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# vue init
|
||||
|
||||
> Legacy project initialization subcommand of the Vue.js framework.
|
||||
> More information: <https://cli.vuejs.org/guide/creating-a-project.html#pulling-2-x-templates-legacy>.
|
||||
|
||||
- Create a new project using one of the default templates:
|
||||
|
||||
`vue init {{webpack|webpack-simple|browserify|browserify-simple|simple}} {{project_name}}`
|
||||
|
||||
- Create a new project using a local template:
|
||||
|
||||
`vue init {{path/to/template_directory}} {{project_name}}`
|
||||
|
||||
- Create a new project using a template from GitHub:
|
||||
|
||||
`vue init {{username}}/{{repo}} {{project_name}}`
|
||||
Reference in New Issue
Block a user