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.

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

No suggestions Available!