A simple CLI for scaffolding projects.
Installation ➡ Document ✈
Prerequisites: node
、npm
、git
$ npm install -g yi-cli
$ yi <template-name> <project-name>
example:
$ yi vue-simple project-test
The above command pull the template from yi-cli/vue-simple, prompts for some information, and generates the project at ./project-test/.
It's all my work in peacetime some of the templates are often used, These include vue、 react multi page and single page and so on. you can check project templates yi-templates-organization. For Example yi vue-simple test
Current available templates include:
-
vue-simple - A Vue Single page program
-
react-simple - A React Single program
You can use yi-cli generate vue official templates. you can check all official project templates vuejs-templates organization you will run yi <template-name> <project-name>
. For Example yi vuejs-templates/webpack project-name
Current available templates include:
-
vuejs-templates/webpack - full-featured-webpack
-
vuejs-templates/webpack-simple - simple-webpack
-
vuejs-templates/browserify - full-featured-browserify
-
vuejs-templates/pwa - PWA template
-
vuejs-templates/simple - simplest