Simplify Vue "runtime only" configuration
This commit is contained in:
parent
c6c40f7573
commit
3db82754d5
|
@ -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'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue