PHP Classes

File: webpack.mix.js

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Simple Laravel Ecommerce   webpack.mix.js   Download  
File: webpack.mix.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple Laravel Ecommerce
E-commerce application to expose seller products
Author: By
Last change:
Date: 2 months ago
Size: 866 bytes
 

Contents

Class file image Download
const mix = require("laravel-mix"); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel applications. By default, we are compiling the CSS | file for the application as well as bundling up all the JS files. | */ //Mixing styles mix.styles( ["vendor/twbs/bootstrap/dist/css/bootstrap.css", "resources/css/app.css"], "public/css/all.css" ); //Mixing script mix.scripts( [ "vendor/components/jquery/jquery.js", "vendor/twbs/bootstrap/dist/js/bootstrap.js", "vendor/twbs/bootstrap/dist/js/bootstrap.bundle.js", ], "public/js/all.js" ); mix.scripts(["resources/js/app.js"], "public/js/app.js");