diff --git a/vite.config.ts b/vite.config.ts index 6916dd5dc..ebe75a2c8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => { }, rollupOptions: { // ensures vue isn't added to the bundle - external: ['vue'], + external: ['vue', 'vue-router'], output: { exports: 'named', // Provide vue as a global variable to use in the UMD build