Yeoman generator that scaffolds out a front-end project using gulp for the build process
Please see our gulpfile.js for up to date information on what we support.
- CSS Autoprefixing
- Built-in preview server with BrowserSync
- Automagically compile Sass with libsass
- Automagically lint your scripts
- Awesome image optimization
- Automagically wire-up dependencies installed with Bower
For more information on what this generator can do for you, take a look at the gulp plugins used in our package.json
.
- Install dependencies:
npm install -g yo bower
- Install the generator:
npm install -g generator-mobbit-front-end
- Run
yo mobbit-front-end
to scaffold your project - Run
gulp dev
to preview and watch for changes - Run
bower install --save <package>
to install frontend dependencies - Run
gulp
to build your project for production