how to dynamic import component from another library? #7668
Unanswered
coader
asked this question in
Help/Questions
Replies: 2 comments 5 replies
-
I think |
Beta Was this translation helpful? Give feedback.
1 reply
-
Have you checked whether the file |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a component in npm package, eg: library1.comp1
if import vue component of current package, just use:
()=>import('....filepath')
but now the component is in another library, if want to use it, we can do that:
import com1 from 'library1'
so how can i use it in ()=>import (...)
(it's for vue route)
Beta Was this translation helpful? Give feedback.
All reactions