Skip to content

is collections entry correct at readme file? #443

@userquin

Description

@userquin

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

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