Skip to content

feat: show all Nitro publicAssets in Assets tab #550

Open
@Leobaillard

Description

@Leobaillard

🆒 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions