Category Archives: Gulp

Laravel Elixir + Gulp

package.json

gulpfile.js

Execute “gulp watch” will open a new window, this window will be watching file changes

Reference:

  1. https://laravel.tw/docs/5.0/elixir
  2. http://oomusou.io/laravel/elixir/elixir-browsersync/

Gulp

  1. Install node.js
  2. Install gulp
  3. Create gulpifle.js
  4. Create package.js
  5. Execute command to initialize gulp:
  6. Execute command to install dependency plugins:
  7. Install new plugin:

    This command will update package.json automatically

Others:

Reference:

Sample package.json

Sample gulpfile.js

Reference:

  1. Solution to slow down SASS comiple
    https://github.com/dlmanning/gulp-sass/issues/1