You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue async component imports are not detected when used as function arguments.
Example of using Quasar Dialog plugin:
functionshowDialog(componentImport){Dialog.create({component: defineAsyncComponent(componentImport),})}showDialog(()=>import('./DialogComponent.vue'))// This import is not detectedshowDialog(defineAsyncComponent(()=>import('./DialogComponent.vue')))// This is not detected either// But this one worksconstcomponent=defineAsyncComponent(()=>import('./DialogComponent.vue'))showDialog(component)// And this works tooconstcomponentImport=()=>import('./DialogComponent.vue')showDialog(componentImport)
Edit: Actually file is marked as used but not the default export.
The text was updated successfully, but these errors were encountered:
Vue async component imports are not detected when used as function arguments.
Example of using Quasar Dialog plugin:
Edit: Actually file is marked as used but not the
default
export.The text was updated successfully, but these errors were encountered: