🚧 There is a pre-release version of this generator, you can install it by running
npm install --global generator-webapp@next. Help us make it stable by reporting bugs! 🚧
Please see our gulpfile for up to date information on what we support.
- enable ES2015 features using Babel
- CSS Autoprefixing
- Built-in preview server with BrowserSync
- Automagically compile Sass with libsass
- Automagically lint your scripts
- Map compiled CSS to source stylesheets with source maps
- Awesome image optimization
For more information on what this generator can do for you, take a look at the gulp plugins used in our
Keep in mind that libsass is feature-wise not fully compatible with Ruby Sass. Check out this curated list of incompatibilities to find out which features are missing.
If your favorite feature is missing and you really need Ruby Sass, you can always switch to gulp-ruby-sass and update the
styles task in gulpfile accordingly.
npm install --global yo gulp-cli generator-webapp
yo webappto scaffold your webapp
npm startto preview and watch for changes
npm start -- --port=8080to preview and watch for changes in port
npm install --save <package>to install dependencies, frontend included
npm run serve:testto run the tests in the browser
npm run serve:test -- --port=8085to run the tests in the browser in port
npm run buildto build your webapp for production
npm run serve:distto preview the production build
npm run serve:dist -- --port=5000to preview the production build in port
- getting started with this generator
- recipes for integrating other popular technologies like CoffeeScript
- contribution docs and FAQ, good to check before posting an issue
--skip-welcome-messageSkips Yeoman's greeting before displaying options.
--skip-install-messageSkips the the message displayed after scaffolding has finished and before the dependencies are being installed.
--skip-installDoesn't automatically install dependencies after scaffolding has finished.
jasmine. Defaults to
See the contributing docs.
Love Yeoman work and community? Help us keep it alive by donating funds to cover project expenses!
[Become a sponsor]