"icon.clientBundle.icons" option not fetching icons
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 96
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 2
Description
Hi,
Just updated to latest version and was trying out the new icon.clientBundle.icons property but apparently the icons are not getting fetched.
We get the following issue when running "yarn dev -o" or "yarn build":
WARN Nuxt Icon could not fetch the icon data for client bundle:
- ic:baseline-home
- fluent-emoji-high-contrast:minibus
- game-icons:hiking
- healthicons:4x4
- mdi:sail-boat
- mdi:bus-double-decker
- material-symbols:paragliding-rounded
Reproduction link:
https://stackblitz.com/edit/nuxt-starter-rhvysv?file=nuxt.config.ts
Thank you, cheers!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked StackBlitz reproduction and inspect nuxt.config.ts, then run yarn dev -o and yarn build to reproduce the client-bundle warnings. Done means the listed icons are fetched successfully and the warnings no longer appear in either command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100