1.

Explain Elixir in Laravel?

Answer»

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');
});



Discussion

No Comment Found