We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d24d2a commit 9a78726Copy full SHA for 9a78726
src/index.ts
@@ -90,6 +90,12 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
90
cssDevSourcemap: config.css?.devSourcemap ?? false,
91
devToolsEnabled: !config.isProduction
92
}
93
+ if (!config.resolve.alias.some(({ find }) => find === 'vue')) {
94
+ config.resolve.alias.push({
95
+ find: 'vue',
96
+ replacement: 'vue/dist/vue.runtime.esm.js'
97
+ })
98
+ }
99
},
100
101
configureServer(server) {
0 commit comments