-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Describe the bug
I have a few nuxt-custom-elements components embedded in my website (https://t3chflicks.org/Services) which are loaded from an external source (document-store.t3chflicks.org, medium-to-markdown.t3chflicks.org). When I switch page, loading a diferrent nuxt-custom-elements component, there seems to be odd behaviour:
- reloading the same component instead of new one
- failing to load with an error of
Uncaught TypeError: Illegal constructor at new n (viewer-component.js:432)
To Reproduce
Steps to reproduce the behavior:
- load multiple components as described in https://github.com/GrabarzUndPartner/nuxt-custom-elements-example/blob/main/examples/external/pages/index.vue
- load a nuxt page containing a nuxt-custom-element
- switch between pages with nuxt-custom-elements
- notice the bugs
Sorry if this isnt enough informatio, please say if you would like an example project.
Cheers