Skip to content

Commit 2d81ab2

Browse files
committed
feat: add custom icon support
might help in the future
1 parent 35e87fc commit 2d81ab2

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

app/assets/icons/fabric.svg

Lines changed: 1 addition & 0 deletions
Loading

nuxt.config.ts

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,26 @@ export default defineNuxtConfig({
179179
},
180180
},
181181

182+
icon: {
183+
customCollections: [
184+
{
185+
prefix: "custom",
186+
dir: "./app/assets/icons",
187+
},
188+
],
189+
},
190+
182191
content: {
183192
experimental: {
184193
sqliteConnector: "native",
185194
},
186195
},
187196

197+
vitalizer: {
198+
disableStylesheets: true,
199+
},
200+
201+
// @ts-expect-error: nuxt-security module is disabled in dev mode which results in missing types
188202
security: {
189203
// TODO: check why it causes payload errors if enabled
190204
ssg: false,
@@ -214,9 +228,4 @@ export default defineNuxtConfig({
214228
},
215229
},
216230
},
217-
218-
vitalizer: {
219-
// disablePreloadLinks: true,
220-
disableStylesheets: true,
221-
},
222231
})

0 commit comments

Comments
 (0)