Skip to content

missing some collection #453

@liyang8246

Description

@liyang8246

When I use material-icon-theme:git in my project, I get a warning:

WARN  [Icon] Collection material-icon-theme is not found locally
We suggest to install it via npm i -D @iconify-json/material-icon-theme to provide the best end-user experience.

And clientBundle: { scan: true } also not work for material-icon-theme

However, I have confirmed that I have already installed @iconify-json/material-icon-theme, and everything works fine for other collections.

While looking through the nuxt-icon source code, I noticed that some collections (including material-icon-theme) are missing from collection-names.ts.

I observed that it is generated using scripts/collections.ts, after re-running the script, material-icon-theme appeared in collection-names, and it works correctly in my project.

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