-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UI] question in nuxt 3 #218
Labels
question
Further information is requested
Comments
Same error but on Vue 3 + Vue Router and without Nuxt. |
Same error here using sveltekit, do you have a solution yet? |
Destroy method is needed. |
I fixed this
and to other page
|
@mahdi4187 I don't understand your solution |
I have a solution found from: WICG/webcomponents#754 const defineCustomElement = CustomElementRegistry.prototype.define;
CustomElementRegistry.prototype.define = function define(name, constructor, options) {
if (name == 'tc-root') {
return;
}
return defineCustomElement.call(this, name, constructor, options);
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your Question
hey guys
i use this, works for first view page in nuxt 3 but after page change and back to page get this error
Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "tc-root" has already been used with this registry
please guide me
Context
What have you tried so far?
No response
Relevant Code or Commands
No response
Documentation Check
The text was updated successfully, but these errors were encountered: