-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
92 lines (90 loc) · 1.63 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
extends: ['@nuxt/ui-pro'],
modules: [
'@nuxt/ui',
// '@prisma/nuxt',
'@nuxt/eslint',
'@nuxt/content',
'@nuxt/image',
'nuxt-auth-utils',
'@nuxt/test-utils',
'nuxt-og-image',
'@nuxthub/core',
],
hub: {
database: true,
},
/*
nitro: {
experimental: {
wasm: true,
},
},
*/
eslint: {
config: {
standalone: false,
},
},
build: {
transpile: ['shiki'],
},
/*
prisma: {
installCLI: false,
installClient: false,
generateClient: false,
installStudio: true,
autoSetupPrisma: true,
},
*/
compatibilityDate: '2024-08-01',
runtimeConfig: {
appEnv: '',
session: {
maxAge: 60 * 60 * 24 * 365, // 1 year
name: 'fumebio-session',
},
apple: {
clientId: '',
teamId: '',
keyIdentifier: '',
privateKey: '',
redirectURL: '',
},
oauth: {
google: {
clientId: '',
clientSecret: '',
redirectURL: '',
},
microsoft: {
clientId: '',
clientSecret: '',
tenant: '',
redirectURL: '',
},
github: {
clientId: '',
clientSecret: '',
redirectURL: '',
},
},
public: {
url: '',
prefix: '',
},
},
future: {
compatibilityVersion: 4,
},
vite: {
resolve: {
alias: {
'.prisma/client/index-browser': './node_modules/.pnpm/@[email protected][email protected]/node_modules/.prisma/client/index-browser.js',
},
},
},
})