feat: update deps, serve web fonts with the app

This commit is contained in:
Anthony Fu committed 2024-12-03 14:00:12 +08:00
1 parent fd4e995e9d
commit fc5937b265
5 files changed
+970 -828

No files matched your search

+4
View File
@@ -1,3 +1,6 @@
import {
createLocalFontProcessor,
} from '@unocss/preset-web-fonts/local'
import {
defineConfig,
presetAttributify,
@@ -27,6 +30,7 @@ export default defineConfig({
serif: 'DM Serif Display',
mono: 'DM Mono',
},
processors: createLocalFontProcessor(),
}),
],
transformers: [