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.

BY Best Interview Question ON 08 Apr 2019

Example

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

Suggest An Answer