Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Auto import of customized component name #439

Copy link
Copy link
@bjarnef

Description

@bjarnef
Issue body actions

I have customized component name in nuxt.config.ts as mentioned here:
https://nuxt.com/modules/icon

icon: {
    componentName: 'NuxtIcon'
},

However use of component doesn't seem to register auto import of the component:

<NuxtIcon name="lucide:newspaper" />
"@iconify-json/lucide": "^1.2.71",
"@nuxt/icon": "^2.1.0",
"nuxt": "^3.12.1",
"vue": "^3.3.8",

I already have another custom component Icon used for something else.

Anything else I neeed to configure or can I explicit import the component?

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.