Ready gulp.js for your project.
Supports only sass
and scss
-
First make sure you have installed the right version of node.js and npm istalled.
-
This command will install
gulp
globally.npm install gulp-cli -g
For next steps you need to be in your website root folder. For example:
...\domain(domain name)>
-
This command will create package.json file.
npm init -y
-
This command will install required packages.
npm install gulp gulp-sass sass gulp-postcss cssnano gulp-terser browser-sync autoprefixer
Rename gulp.js
to gulpfile.js
.
Run gulp
in command line and you are ready to go!