0.2.0 • Published 8 years ago
generator-anpan v0.2.0
Anpan
Generate a static html template for mockup.
Requirements
- Node/Npm
- Yarn
Usage
$ npm install -g generator-anpan
$ yo anpan
Templates
Includes
- harpjs
- Gulp
- Sass
- Jade
Structure
├── gulpfile.js
├── package.json
├── src
│ ├── _harp.json
│ ├── _includes
│ │ └── _head-include.jade
│ ├── _layout.jade
│ ├── assets
│ │ └── css
│ │ └── style.scss
│ └── index.jade
└── yarn.lock
npm scripts
npm run serve
: Serve app in local.npm run build
: Compile HTML/CSS/JS by harp