Some icons cannot display a preview
Describe the bug
Just like this
<i-mdi:like />
<i-tabler:arrow-big-top />
Reproduction
/
System Info
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz
Memory: 8.34 GB / 15.75 GB
Binaries:
Node: 22.17.1 - D:\Nvm\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
npm: 10.9.2 - D:\Nvm\nodejs\npm.CMD
pnpm: 10.13.1 - ~\AppData\Local\pnpm\pnpm.EXE
Browsers:
Edge: Chromium (135.0.3179.54)
Internet Explorer: 11.0.19041.4355
Used Package Manager
pnpm
Validations
- [x] Follow our Code of Conduct
- [x] Read the Contributing Guide.
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] The provided reproduction is a minimal reproducible of the bug.
Contributions
- [ ] I am willing to submit a PR to fix this issue
- [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
In addition, I don't know what the specific purpose of the iconify.cdnEntry configuration item is?
Same for me. Only icons from ls are loaded and displayed in the IDE with IntelliSense.
However, I am using Heroicons set in my Nuxt v4 project and it doesn't work.
When checking the VSCode Extension debug output of Iconify IntelliSense I have the following:
🈶 Activated, v0.3.4
🎛 128 icon sets loaded
☁️ [ls] Downloading from https://cdn.jsdelivr.net/gh/iconify/icon-sets/json/ls.json
✅ [ls] Downloaded
As you can see, only the ls set is downloaded.
However in the package.json of my Nuxt project, I have the @iconify-json/heroicons dev-dependency which (I believe) should trigger the remote loading of Heroicons dataset for the extension:
{
"name": "nuxt-app",
"type": "module",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=24.0.0",
"npm": ">=11.0.0"
},
"dependencies": {
"@nuxt/icon": "1.15.0",
"@nuxt/kit": "4.0.1",
"nuxt": "4.0.1",
"vue": "3.5.18",
},
"devDependencies": {
"@iconify-json/heroicons": "1.2.2",
}
}
Duplicate of https://github.com/antfu/vscode-iconify/issues/80