Closed Jogai closed 1 year ago
try adding enabledCollections: ['prime'],
to the IconsResolver
Thanks, but no. Works for other sets tough. And "@iconify-json/prime": "^1.1.1",
is added to my packages.json I saw, but its not displayed.
mee to , i use the set of ion, Most of the icons can be used normally, but some icon not work, like ~icons/ion/document-text-outline, this got 404
We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.
mee to , i use the set of ion, Most of the icons can be used normally, but some icon not work, like ~icons/ion/document-text-outline, this got 404
Today while debugging the issue, I found out that it was my own mistake. The main reason for the 404 error was that the request was matching the address configured in the proxy.
Set up the project as described in the readme. Including auto import: https://github.com/antfu/unplugin-icons#auto-importing
The important part of vite.config.js:
Several icons work, and I see vite installing the sets I choose, but the prime icons wont work.