icon icon indicating copy to clipboard operation
icon copied to clipboard

missing some collection

Open liyang8246 opened this issue 1 month ago • 0 comments

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.

liyang8246 avatar Dec 19 '25 18:12 liyang8246