icon icon indicating copy to clipboard operation
icon copied to clipboard

is collections entry correct at readme file?

Open userquin opened this issue 2 months ago • 0 comments

This configuration seems to be wrong, we need collections as direct icon child (testing tresjs apps/lab when migrating to tsdown) all json collections in the nuxt server.mjs):

export default defineNuxtConfig({
  modules: ['@nuxt/icon'],
  icon: {
    collections: ['uil', 'mdi'] // <== SHOULD BE HERE?
    serverBundle: {
      collections: ['uil', 'mdi'] // <== IS THIS FINE?
    }
  }
})

including collections inside serverBundle collections inside serverBundle

including collections as direct child collections as direct icon child

userquin avatar Nov 18 '25 17:11 userquin