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

Component Inspector does not work on SSR content #469

Closed
antfu opened this issue Oct 15, 2023 · 1 comment
Closed

Component Inspector does not work on SSR content #469

antfu opened this issue Oct 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@antfu
Copy link
Member

antfu commented Oct 15, 2023

🐛 The bug

This is a known bug, introduced by webfansplz/vite-plugin-vue-inspector#81 and caused by vuejs/core#9328

Until vuejs/core#9328 get shipped, a workaround is to disable cleanHtml option:

export default defineNuxtConfig({
  devtools: {
    enabled: true,
    componentInspector: {
      cleanHtml: false, // <---
    },
  },
})
@antfu antfu added the bug Something isn't working label Oct 15, 2023
@antfu
Copy link
Member Author

antfu commented Nov 20, 2023

vuejs/core#9328 get merged, should be fixed once we upgrade to Vue 3.4

@antfu antfu closed this as completed Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant