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.
Hi,
I have a Nuxt Layer with
AppMenu.vue, the menu items are defined inside theapp.config.tsof the child app which extends from the Layer like so:I noticed when using
clientBundle: { scan: true }that icons inside theapp.config.tswere not bundled.I think all Nuxt files should be scanned by default,
.jsand.tsincluded, not just.vuefiles.