Devtools shows layout instead of the devtools view
Hi! My devtools show the index (I assuem it's the layout) instead of the devtools view, I used Nuxt Vitesse starter.

2 Replies
Hi @Giton. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It sounds like you're experiencing an issue with Nuxt DevTools not displaying properly. Based on the knowledge sources, this could be related to how Nuxt DevTools is configured or initialized in your project.
The Nuxt DevTools is a development tool that should appear as a separate interface rather than showing your layout content. Here are a few things you can try:
1. Make sure DevTools is properly enabled in your
nuxt.config.ts
file:
2. You might need to explicitly enable DevTools for your project using the Nuxt CLI:
This command will install Nuxt DevTools globally and enable it for your specific project Nuxt DevTools Command.
3. If you're using a recent version of Nuxt, there have been several updates to the DevTools package. The knowledge sources show multiple version updates (from v1.x to v2.x), which might be relevant to your issue GitHub PR: Upgrade to DevTools v2.
4. Check if you have any layout-related code in your app.vue
that might be interfering with the DevTools display. The proper way to use layouts in Nuxt 3 is:
If you're still experiencing issues, you might want to check if there are any conflicts between different versions of DevTools packages in your dependencies, as shown in some of the GitHub issues in the knowledge sources.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@184393343655084032> Kapa.ai is still learning and improving, please let me know how I did by reacting below.