Skip to content

Commit 6b18cd8

Browse files
fix: icons loading (#380)
fixes issue of icons not loading on first load
1 parent 2461b49 commit 6b18cd8

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

bun.lockb

19 KB
Binary file not shown.

nuxt.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,26 @@ export default defineNuxtConfig({
9393
includeCustomCollections: true,
9494
// guard for uncompressed bundle size, will fail the build if exceeds
9595
sizeLimitKb: 256,
96+
icons: [
97+
'heroicons:clipboard-document',
98+
'heroicons:chevron-right-20-solid',
99+
'heroicons:chevron-left-20-solid',
100+
'heroicons:hashtag-20-solid',
101+
'heroicons:chevron-down-20-solid',
102+
'heroicons:moon-20-solid',
103+
'heroicons:sun-20-solid',
104+
'heroicons:x-mark-20-solid',
105+
'heroicons:rocket-launch',
106+
'heroicons:arrow-up-right-20-solid',
107+
'heroicons:arrow-left-20-solid',
108+
'heroicons:check-circle-16-solid',
109+
'vscode-icons:file-type-bun',
110+
'vscode-icons:file-type-npm',
111+
'vscode-icons:file-type-pnpm',
112+
'vscode-icons:file-type-yarn',
113+
'vscode-icons:file-type-typescript',
114+
'vscode-icons:file-type-solidity',
115+
],
96116
},
97117
},
98118
$production:

0 commit comments

Comments
 (0)