-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
41 lines (40 loc) · 1.05 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
36
37
38
39
40
41
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: {enabled: true},
css: ['~/assets/css/main.css'],
googleFonts: {
families: {
Lora: true,
"Playfair Display": true,
}
},
colorMode: {
preference: 'light'
},
auth: {
isEnabled: true,
disableServerSideAuth: false,
baseURL: process.env.BASE_URL ? `${process.env.BASE_URL}/api/auth` : `http://localhost:${process.env.PORT || 3000}/api/auth`,
provider: {
defaultProvider: "google",
type: "authjs",
trustHost: false,
},
sessionRefresh: {
enablePeriodically: true,
enableOnWindowFocus: true,
},
auth: {
globalAppMiddleware: true
}
},
modules: [
'@vueuse/nuxt',
'@nuxt/image',
'@nuxtjs/google-fonts',
'@nuxt/ui',
'@sidebase/nuxt-auth',
'@vueuse/motion/nuxt',
]
})