Skip to content
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

fix: Vue warning: Extraneous non-props attributes (data-v-inspector) #722

Open
neneodonkor opened this issue Sep 4, 2024 · 3 comments
Open
Labels
help wanted Extra attention is needed

Comments

@neneodonkor
Copy link

📚 What are you trying to do?

image

I got a warning after I upgraded for the previous version of Nuxt in my project. Although it is not a major bug, it would be nice to know where the issue is in my code. Maybe if someone could explain, it could be of help. I suspect it has to do with passing down props.

🔍 What have you tried?

No response

ℹ️ Additional context

No response

@neneodonkor neneodonkor added the help wanted Extra attention is needed label Sep 4, 2024
@ivan-angjelkoski
Copy link

ivan-angjelkoski commented Sep 7, 2024

i also get this issue when using the devtools and with Shadcn-Vue,
when in SSR, i get this warning in terminal/server console, but on browser its fine..
if i turn off SSR, then again in browser is fine but i dont have SSR.

so im guessing its something with this module... if not i need to open a ticket in shadcn-vue.

to recreate this issue, just install shadcn-vue in nuxt, and try using the components, even the example ones yield this error...

note: the examples on stackblitz use vue, not nuxt.

@antfu any hints?

@one-222333
Copy link

"I also encountered this problem. You can temporarily solve it by setting componentInspector: false:

devtools: {
  enabled: true,
  componentInspector: false
}

Link: #259 (comment)"

@neneodonkor
Copy link
Author

componentInspector: false

Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants