Open myomyintaung1411 opened 2 years ago
import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [vue()],
resolve: { dedupe: ["vue"] },
});
make sure this is your vite config file
Are there any other idea/solution for this issue ? I'm not using vite at all.
import vue from "@vitejs/plugin-vue"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [vue()], resolve: { dedupe: ["vue"] }, });
make sure this is your vite config file
Could you explain what the underlying problem is, and how your change resolves it?
TIA
there is typescript demo that does not show this error .. does it still apply after latest update? https://github.com/scholtz/qrcode-vue3-sample/blob/864df396c9099c1d0f164f09ba984faf3f8c3fa5/src/App.vue#L12
i also meet this problem in my project with vue3 and typescript