Simplify Vue "runtime only" configuration

This commit is contained in:
Jonathan Reinink 2021-06-14 08:04:05 -04:00
parent c6c40f7573
commit 3db82754d5
1 changed files with 1 additions and 2 deletions

3
webpack.mix.js vendored
View File

@ -16,7 +16,7 @@ const cssNesting = require('postcss-nesting')
mix mix
.js('resources/js/app.js', 'public/js') .js('resources/js/app.js', 'public/js')
.vue() .vue({ runtimeOnly: true })
.postCss('resources/css/app.css', 'public/css', [ .postCss('resources/css/app.css', 'public/css', [
// prettier-ignore // prettier-ignore
cssImport(), cssImport(),
@ -26,7 +26,6 @@ mix
.webpackConfig({ .webpackConfig({
resolve: { resolve: {
alias: { alias: {
vue$: 'vue/dist/vue.runtime.esm.js',
'@': path.resolve('resources/js'), '@': path.resolve('resources/js'),
}, },
}, },