transforming gov.sa Sass into CSS.
- You'll need node and npm.
- You'll need to install the following packages via npm: gulp gulp-autoprefixer gulp-rename gulp-sass gulp-sourcemaps gulp-uglify node-sass
If you've never installed Gulp, you'll need to install the gulp globally:
npm install gulp-cli -g
Add all the required dependencies at once with following command from your project's root directory:
npm install gulp gulp-autoprefixer gulp-rename gulp-sass gulp-sourcemaps gulp-uglify node-sass --save-dev
copy the
gulpfile.js
on your project root
Intitialize your gov.sa project by running the following command:
gulp init
Watch SCSS files and compile any changes with it
gulp watch