Skip to content

Nested components in CDN #8802

Discussion options

You must be logged in to vote

After a long day of reading I came with sort of solution. With my laymans explanation, full download of Vue includes webpack, while CDN doesn't. And to import/export you need js to be of type module. That is covered in webpack but not in js without that "module" type. And making your Vue component a module brings down some other problems.

In the end I made locally declared component inside my main component, and using async mounted() method as a main function for everything.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Trading-Mark
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Trading-Mark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants