feat: show all Nitro publicAssets in Assets tab
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 214
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 18
Description
🆒 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
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 in the devtools Assets tab and review Nitro's publicAssets configuration documentation linked in the issue. Done means the tab lists assets from every configured public-assets folder, not only /public, and identifies each asset's source folder and whether it was aliased.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100