A simple generator for building wechat-miniapp with gulp
Generator-miniapp-gulp will help you build new Wechat-miniapp projects using gulp.
Out of the box it comes with support for:
- Gulp
- ES2015 via Babel-Loader
- Different supported style languages (sass, scss, less, stylus)
- Automatic code linting via esLint
- Automatic complie
First, install Yeoman and generator-sherhootest using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-miniapp-gulp
Then generate your new Wechat-miniapp project:
yo miniapp-gulp
# when your souce file changes, it will automatically compile to be wxml & wxss
gulp watch
# complie your souce file
gulp build
MIT © 夏浩