From 3db82754d5ae8d3d303c1870fb1b5ac05d8e0fc1 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Mon, 14 Jun 2021 08:04:05 -0400 Subject: [PATCH] Simplify Vue "runtime only" configuration --- webpack.mix.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webpack.mix.js b/webpack.mix.js index 3ba9c9f..6ce458a 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -16,7 +16,7 @@ const cssNesting = require('postcss-nesting') mix .js('resources/js/app.js', 'public/js') - .vue() + .vue({ runtimeOnly: true }) .postCss('resources/css/app.css', 'public/css', [ // prettier-ignore cssImport(), @@ -26,7 +26,6 @@ mix .webpackConfig({ resolve: { alias: { - vue$: 'vue/dist/vue.runtime.esm.js', '@': path.resolve('resources/js'), }, },