Mix in Laravel renders one fluent API to define Webpack creation steps for the application of Laravel that uses various common CSS as well as JavaScript preprocessors. With the help of one easy method chaining, the user is able to fluently define the asset pipeline.

BY Best Interview Question ON 26 May 2020

Example

mix.js('resources/js/app.js', 'public/js') // You can also use your custom folder here
.sass('resources/sass/app.scss', 'public/css');

Suggest An Answer