From a6b04801e5b2e1faed9758097561feb812e24fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Wed, 13 Apr 2022 11:15:14 +0200 Subject: [PATCH] Add necessary configuration for npm link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index d24aefe..13d1895 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -110,5 +110,10 @@ module.exports = { resolve: { extensions: ['*', '.js', '.vue'], symlinks: false, + // Ensure npm link works for vue 3 and does not duplicate vue dependency + // See https://github.com/vuejs/core/issues/1503 + alias: { + 'vue$': path.resolve('./node_modules/vue') + }, }, }