Fork from generator-gulp-webapp
- 安装依赖:
npm install --global yo gulp bower
- 安装 generator:
npm install --global generator-dfc
- Run
yo dfc
to scaffold your webapp - Run
gulp serve
to preview and watch for changes - Run
bower install --save <package>
to install frontend dependencies - Run
gulp serve:test
to run the tests in the browser - Run
gulp
to build your webapp for production - Run
gulp serve:dist
to preview the production build