vuejs / vuejs/devtools

[feature] default to the "page" component when using Nuxt

Open
#787 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

client dx enhancement
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Most of my Vue work is done in the /pages folder of Nuxt.

Everytime I open devtools, it opens without any component focused.
I then have to navigate to the page I am working on.

Could there be an option or a default to open the first page in the tree?

Example screenshot on which element would automatically get selected:

Image

This would greatly improve my workflow :-).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing how the devtools component tree is initialized for Nuxt applications and how components from the /pages folder appear in that tree. Done means the relevant page is automatically focused when devtools opens, without manual navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
devtools, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.