Configuring mix and instlling vue.js version 3

This commit is contained in:
kplaczek
2022-01-06 11:57:50 +01:00
parent 60f2374fc7
commit 6a51bd0a85
6 changed files with 26734 additions and 28 deletions

17
webpack.mix.js vendored
View File

@@ -1,17 +1,10 @@
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.
|
*/
mix.js('resources/js/app.js', 'public/js')
mix.js('resources/js/app.js', 'public/js').vue({ version: 3})
.postCss('resources/css/app.css', 'public/css', [
//
]);
if (mix.inProduction()) {
mix.version();
}