-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
50 lines (49 loc) · 1.05 KB
/
nuxt.config.js
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { join } from 'node:path';
import { defineNuxtConfig } from 'nuxt/config';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
sourcemap: {
client: true,
server: true,
},
modules: ['@nuxt/fonts', '@nuxt/eslint', 'nuxt-auth-utils', 'vuetify-nuxt-module'],
runtimeConfig: {
// See server/utils/database.js and server/plugins/storage.js
pgliteDataDir: join('.data', 'pglite'),
},
app: {
head: {
htmlAttrs: {
lang: 'de',
},
},
},
vuetify: {
vuetifyOptions: {
icons: {
defaultSet: 'mdi-svg',
},
theme: {
defaultTheme: 'dark',
themes: {
light: {
dark: false,
},
dark: {
dark: true,
},
},
},
},
moduleOptions: {
ssrClientHints: {
prefersColorScheme: true,
prefersColorSchemeOptions: {
useBrowserThemeOnly: true,
},
},
},
},
});