Magento 2 have some difficult for speed up workshop in frontend developement , the community try to find a solution for that this tutorial is introduction for using gulp with magento 2 .
- apt-get install nodejs and tape ln -s /usr/bin/nodejs /usr/bin/node
- go to root prject and : apt-get install npm
- npm install --global gulp-cli and tape npm install --save-dev gulp
- donwload gulp.js from https://github.com/poddubny/magento2-gulp => npm install gulp-less npm install gulp-sourcemaps npm install gulp-cssmin npm install gulp-livereload npm install gulp-if
- npm install -g graceful-fs
- bin/magento dev:source-theme:deploy --locale="en_US" --area="frontend" --theme="Ibnab/Salam"
- php bin/magento setup:static-content:deploy
Comments