Level 19
Did you solve your issue?
I also would like to import lazily vuetify components using defineAsyncComponent but don't know how to do that.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I wrote my code to import components dynamically like this But unfortunately, it doesn't work:
const vuetifyComponent = (component) => defineAsyncComponent(() => import(./../node_modules/vuetify/lib/components/${component}/${component}.mjs));
I also tested it like this and it still didn't work:
let {VProgressLinear} = defineAsyncComponent(() => import(vuetify/components));
can you help me?
Please or to participate in this conversation.