Commit b5ab26d
committed
feat(icons): Bundle icons locally to drop the Iconify API
Enable @nuxt/ui's client-side icon bundling (nuxt/ui#6635) so every
icon — Nuxt UI's own component icons and the app's fa6/lucide icons —
is embedded into the build instead of fetched from api.iconify.design
at runtime. This restores offline icon rendering and removes the
third-party runtime dependency. Verified against a production build:
the icon SVG data is inlined and the running app makes zero requests
to api.iconify.design.
@nuxt/ui is temporarily pinned to the ephemeral pkg.pr.new preview of
#6635, which is merged but not yet in a published release. Swap it
back to a normal semver once the next @nuxt/ui release ships; the
vite.config and @iconify-json/lucide changes stay identical.
Assisted-by: ClaudeCode:claude-opus-4-81 parent a944b6a commit b5ab26d
3 files changed
Lines changed: 32 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
0 commit comments