Gulp

gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something.

Installing Gulp

To install gulp first you must have NodeJs installedarrow-up-right, NodeJS will have npm (node packaged modules) Run the following commands to get started

  • Navigate to Getting Started folder open the folder with default or light of your choice to begin

  • Install gulp by running the following command npm install

  • Now Run gulp it will open browser will address http://localhost:3000arrow-up-right

npm install
gulp default
triangle-exclamation
circle-exclamation
circle-check

Commands

gulp build

gulp build

This will automatically minify your assets resources like css and js into respective folders

gulp watch

gulp watch

This will automatically compile the scss and js file files on save

circle-info

scss source files are present in assets/src folder, while js files are default available at assets/js/atlas.js

Troubleshooting

if encounter problems with installing dependencies or running Gulps commands, first delete the /node_modules/ directory generated by npm. Then, rerun npm install.

circle-info

Please use gulp version 3.9.1 npm install [email protected] --save

Last updated