Closed haha912 closed 1 year ago
this code can reproduct the problem on my local enviroment https://github.com/haha912/vue-zoshfb
Any reason you're using module: "commonjs"
? It's causing the vuetify plugin to get
const _component_v_card = (0, vue_1.resolveComponent)("v-card");
instead of
const _component_v_card = _resolveComponent("v-card");
Any reason you're using
module: "commonjs"
? It's causing the vuetify plugin to getconst _component_v_card = (0, vue_1.resolveComponent)("v-card");
instead ofconst _component_v_card = _resolveComponent("v-card");
Thank you very much,change module setting to ESNext can fix it. But I'm not sure if this will cause other compatibility issues.
If anything it'll work better, dead-code elimination only works with esm input.
I try to migrate my project from vue2 to vue3, but autoImport not work vue3 + vuetify 3 + typescript + webpack
plugins/vuetify.ts
vue.config.js
package.json
error: