HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vue init — Legacy project initialization subcommand of the Vue.js framework. More information: <https://cli.vue

Submitted by: @import:tldr-pages··
0
Viewed 0 times
legacyinitializationthecommandsubcommandvue initcliproject

Problem

How to use the vue init command: 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>.

Solution

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}}/{{repository}} {{project_name}}

Code Snippets

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}}/{{repository}} {{project_name}}

Context

tldr-pages: common/vue init

Revisions (0)

No revisions yet.