N
Nuxt2mo ago
Guillaume

Could not compile template nuxt-icon-client-bundle.mjs

Hello , I use Nuxt with @nuxt/ui which includes the module @nuxt/icons. Here is my nuxt.config.ts file
import { createResolver } from '@nuxt/kit';
const { resolve } = createResolver(import.meta.url);

export default defineNuxtConfig({
icon: {
customCollections: [
{
prefix: 'untitled',
dir: resolve('./assets/icons')
}
],
clientBundle: {
scan: true,
includeCustomCollections: true
},
provider: 'iconify'
},
modules: [
'@nuxt/ui',
],
});
import { createResolver } from '@nuxt/kit';
const { resolve } = createResolver(import.meta.url);

export default defineNuxtConfig({
icon: {
customCollections: [
{
prefix: 'untitled',
dir: resolve('./assets/icons')
}
],
clientBundle: {
scan: true,
includeCustomCollections: true
},
provider: 'iconify'
},
modules: [
'@nuxt/ui',
],
});
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server