Skip to content

Creating app.config.ts forces to define nuxtIcon  #1043

@tcimawap

Description

@tcimawap

Environment

  • Operating System: Darwin
  • Node Version: v18.15.0
  • Nuxt Version: 3.8.2
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.0
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, typescript, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Version

v2.11.0

Reproduction

Create an app.config.ts without nuxtIcon and run build task
export default defineAppConfig({ ui: { primary: 'teal', gray: 'neutral' } })

Description

We should be able to create app.config.ts without nuxtIcon (following is ok)
export default defineAppConfig({ nuxtIcon: {}, ui: { primary: 'teal', gray: 'neutral' } })

Additional context

v2.11.0 brings following dependency
"nuxt-icon": "^0.6.6",

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions