Skip to content

Scan doesn't work when extending a Layer #358

Description

@mrleblanc101

Hi,
I have a Nuxt Layer with AppMenu.vue, the menu items are defined inside the app.config.ts of the child app which extends from the Layer like so:

export default defineAppConfig({
    menu: {
        primary: [
            {
                label: 'Dashboard',
                icon: 'material-symbols:dashboard-2-outline',
                to: '/',
            },
        ],
    },
});

I noticed when using clientBundle: { scan: true } that icons inside the app.config.ts were not bundled.
I think all Nuxt files should be scanned by default, .js and .ts included, not just .vue files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions