Skip to content

Commit 3563ddf

Browse files
committed
fix: unocss font loading failure
1 parent c1a41f1 commit 3563ddf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/uno.config.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import {
22
defineConfig,
33
presetAttributify,
44
presetIcons,
5-
presetUno,
65
presetWebFonts,
6+
presetWind4,
77
} from 'unocss'
88

99
export default defineConfig({
1010
shortcuts: [],
1111
presets: [
12-
presetUno({
12+
presetWind4({
1313
dark: 'class',
1414
}),
1515
presetAttributify(),
@@ -42,6 +42,10 @@ export default defineConfig({
4242
],
4343
'jura': ['Jura'],
4444
},
45+
timeouts: {
46+
failure: 10000,
47+
warning: 10000,
48+
},
4549
}),
4650
],
4751
})

0 commit comments

Comments
 (0)