Dynamic import at runtime


#1

Hi,
I have a question around third party component registration with my my vue app.
My scenario is like a component marketplace,where I could add components to my AppShell. A bit like web components.
So say I want to include several 3rd party webcomponents in my app by selecting to enable them on my app settings, I may then need to load them from a CDN and add script tags to the page.

So say I load the 3rd party vue component in global scope by registering the script src, is there any way I can make that component know about my main Apps Vuex Store?

Cheers
Shay