0.1.0 • Published 6 years ago
generator-webpack-staticapp v0.1.0
generator staticapp
webpack template for static pages development based on yeoman
Install
yo
can generate this project generator-webpack-staticapp
npm install -g yo generator-webpack-staticapp
Usage
yo webpack-staticapp [options] <name>
The installer will automatically create subdirectory use the name
options
-h, --help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
--html # enable html Default: true
--pug # enable pug/jade Default: false
--css # enable css Default: true
--less # enable Less Default: false
Examples
$ yo webpack-staticapp myapp --pug --less
$ tree myapp
.
├── package-lock.json
├── package.json
├── pages
│ ├── about.html
│ ├── contact.pug
│ ├── css
│ │ ├── global.css
│ │ └── global.less
│ ├── imgs
│ │ └── webpack.png
│ ├── index.html
│ ├── js
│ │ └── time.js
│ └── layout.pug
└── webpack.config.js
0.1.0
6 years ago