A simple CLI for create webapp projects.
Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.
$ npm install -g web-app-cli
$ webapp init <template-name> <project-name>
Example:
$ webapp init webpack-spa my-project
The above command pulls the template from webapp-templates/webpack, prompts for some information, and generates the project at ./my-project/
.
Current available templates include:
-
webpack-spa - SPA Page, A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
-
webpack-multi - Multi Page, A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.