nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.93k stars 161 forks source link

feat: add directives page #740

Open userquin opened 2 months ago

userquin commented 2 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Check the title: https://github.com/nuxt/nuxt/pull/29203

This PR includes:

This PR can be merged, we only need to confirm that Nuxt will use the import.ts module, otherwise we will need to redo some logic here.

Some screenshots ![GYg7Tc1WgAA1e5s](https://github.com/user-attachments/assets/1200c2b3-c3bd-481e-b69a-7430718da455) _toolbar__ ![GYg7e2JXQAAugEt](https://github.com/user-attachments/assets/fbd434fe-d93f-4302-9996-53447ae4ae15) __directives page__
antfu commented 2 months ago

Can we have it in the imports tab (as a badge or filter) instead? Would that be easier to maintain?

userquin commented 2 months ago

Something like this?

imagen

userquin commented 2 months ago

We need to: