nuxt / nuxt/devtools

fix: The functionality to show relationships between components (Graph view) in the components module is not working.

Open
#668 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

🐛 The bug

When I try to configure routerRules in the nuxt.config.ts file, it does not show me the references and dependencies.

  • nuxt.config.ts
export default defineNuxtConfig({
...
  routeRules: {
    '/**': { ssr: false },
  },
...
});

image

🛠️ To reproduce

https://stackblitz.com/edit/github-tk7sxe?file=nuxt.config.ts,components%2FChild%2FAlert%2FAlert.vue,components%2FChild%2FChildButton.vue

🌈 Expected behavior

image

ℹ️ Additional context

No response

Contributor guide

Open the contributing guide

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

Start by opening the StackBlitz reproduction and nuxt.config.ts, then compare the Components module graph with the expected screenshot. Done means references and dependencies appear when routeRules sets ssr:false; the issue does not name a source entry point or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.