Laravel Elixir Setup

Laravel Elixir Setup

Laravel Elixir provides a clean, fluent API for defining basic Gulp task which supports serveral common CSS and Javascript pre-processor.

Pre-condition : Ubuntu user, Laravel project up and running, node.js installed. Check by : node -v

Next, install gulp as a global NPM package L : sudo npm install --global gulp

Then locate terminal into your project roots and run : npm install

Finally cd terminal to your project folder and use command : gulp to compile.

If you want to specify sass or less, please locate the gulpfile.js at the root of your projects and change it respectively

If you liked this article

Let's subscribe the updates of Scuti!
Share on Google Plus

About Anonymous

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment