-
Notifications
You must be signed in to change notification settings - Fork 8
/
nuxt.config.ts
35 lines (35 loc) · 1.06 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export default defineNuxtConfig({
modules: ['@nuxt/fonts', '@nuxtjs/tailwindcss', '@unocss/nuxt'],
devtools: { enabled: true },
compatibilityDate: '2024-08-19',
fonts: {
providers: {
custom: '~/providers/custom',
customLegacy: '~/providers/custom-legacy',
},
families: [
{ name: 'Abel', provider: 'bunny' },
{ name: 'Satoshi', provider: 'fontshare' },
{ name: 'Kode Mono', provider: 'none' },
{ name: 'MyCustom', src: '/custom-font.woff2' },
{ name: 'CustomGlobal', global: true, src: '/font-global.woff2' },
{ name: 'Oswald', fallbacks: ['Times New Roman'] },
{ name: 'Aleo', provider: 'adobe' },
{ name: 'Barlow Semi Condensed', provider: 'adobe' },
{ name: 'Barlow', preload: true },
{ name: 'Roboto Mono', provider: 'fontsource' },
{ name: 'Roboto Flex', provider: 'fontsource' },
],
adobe: {
id: ['sij5ufr', 'grx7wdj'],
},
defaults: {
fallbacks: {
monospace: ['Tahoma'],
},
},
},
unocss: {
disableNuxtInlineStyle: false,
},
})