Browse Source

vue: add page (#1134)

Galdin Raphael 8 years ago
parent
commit
e8f92f81d9
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pages/common/vue.md

+ 16 - 0
pages/common/vue.md

@@ -0,0 +1,16 @@
+# 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:
+
+`vue init {{path/to/template_folder}} {{project_name}}`
+
+- Create project using template on GitHub:
+
+`vue init {{username}}/{{repo}} {{project_name}}`