Loading…

Explain Elixir in Laravel?

Laravel Elixir is a technique that provides a fluent, clean API for defining Gulp tasks for our application. It supports various common CSS, testing tools and JavaScript pre-processors.

Using method chaining, It allows us to define our asset pipeline fluently.

Example

                                        

elixir(function(mix) {
    mix.sass('app.scss')
      .coffee('app.coffee');
});

Suggest An Answer

No suggestions avaliable!

Latest post from Laravel 5 Interview Questions

Ask Question