nuxt / devtools

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

feat: show all Nitro publicAssets in Assets tab #550

Open Leobaillard opened 8 months ago

Leobaillard commented 8 months ago

🆒 Your use case

When adding assets folders by extending the publicAssets Nitro config, for instance in a module, it would be nice for the "Assets" tab of the devtools to show all the available assets, not just the ones in the "public" folder.

See Nitro publicAssets configuration: https://nitro.unjs.io/config#publicassets

🆕 The solution you'd like

In the "Assets" tab, show assets coming from other public assets folders appart from /public and specify where the assets come from and if the folder was aliased.

🔍 Alternatives you've considered

I haven't found an alternative way to list the assets that are available to the Nuxt app but that are not in the /public folder other than manually looking for them.

ℹī¸ Additional info

No response