Install
cherub - a professional front-end templates generator to help you getting started with a new project based on HTML5 Boilerplate, also support Typescript, include base template
& PWA template
。
Translations: 简体中文
# Node >= 6
# mac/linux
sudo install -g cherub
Usage
# init
$ cherub create # or cherub create demo -t base[pwa] two templates supported
# install
$ cd demo && npm install
# run
$ cherub start
# build
$ cherub build
# help
$ cherub --help
Contents
What’s Included?
- Hot reload
- Autoprefixer
-
VM
responsive -
px
->rem
Automatic conversion - Image sprites
- Automatic set images width & height
-
Typescript
supported -
PWA
supported
Dependence
Files
.
├── package.json
├── .cherub.js
├── dist
└── src
├── css
│ └── app.scss
├── img
├── index.html
├── offline.html
└── js
├── index.js
└── sw.js
License
cherub is open source software MIT