I am working on a project and I have a couple of views.
I am using the included bootstrap from laravel but in the resources/sass/_variables.scss I changed some of the default colors.
After that, I ran npm run dev to recompile.
After that I checked public/css and there were css files for every view that I created.
Is it possible that laravel mix generated these files?
Also, is it possible to edit these without laravel mix overriding your changes?
webpack.mix.js
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.react('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');