gulpcreate build with localhost server and livereload;gulp devcreate build without localhost server and livereload.
- All custom scss files locate in
src/scss/folder; - Entry point for all scss is
src/scss/app.scssyou can import all your .scss files from here; - You don't need to write prefixes for different browsers like
-webkitit will be done by the gulp.
- All custom javascript files locate in
js/folder; - Entry point for javascript is
src/js/app.jsyou can import all you .js files from here using ES6 import feature; - All javascript is babelified so yes! You can use all kind of ES6 features here.
- All images placed in
src/images/folder will be automatically optimized and put inbuild/images/folder; - To clear
build/images/folder usegulp imageCleantask.
- All extensions must be installed by the Bower;
- After installing the extension you must include its files:
- js files must be included in
src/vendor_entries/vendor.jsby adding new elements to the array; - css or sass files must be included in
src/vendor_entries/vendor.scssusing@import.
- js files must be included in
gulp productiontask creates theproduction/folder in the root of the project with build files only;- It will help you to create clear instances of code for the production or further implementation.