fix: Components that are used shows up as Unused
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 214
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 18
Description
🐛 The bug
Filtering for unused components shows components that are used as unused. I think (?) it shows only components that are used on the current page
🛠️ To reproduce
https://github.com/metkm/unused-components
🌈 Expected behavior
Shouldn't show used components as not used
ℹ️ Additional context
https://github.com/nuxt/devtools/issues/358#issuecomment-1868263174
https://github.com/nuxt/devtools/issues/358#issuecomment-1868295864
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with the linked unused-components project, then trace the unused-components filtering in the Nuxt DevTools code. Confirm which components are used outside the current page and verify that used components no longer appear as unused.
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
- 35/100