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') + }, }, }