-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
48 lines (47 loc) · 973 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
import vue from '@vitejs/plugin-vue'
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
modules: ['@nuxt/ui', 'nuxt-monaco-editor'],
devtools: { enabled: false },
css: ['~/assets/css/main.css'],
runtimeConfig: {
githubClientId: '',
githubClientSecret: '',
googleGeminiApiKey: '',
dbFileName: 'file:local.db'
},
app: {
head: {
bodyAttrs: {
class: 'h-full flex flex-col min-h-screen [&>*:is(.isolate)]:grow [&>*:is(.isolate)]:flex [&>*:is(.isolate)]:flex-col'
}
}
},
ui: {
colorMode: false
},
devServer: {
port: 3029
},
nitro: {
preset: 'node-cluster',
rollupConfig: {
plugins: [vue()]
},
},
build: {
transpile: ['monaco-editor']
},
vite: {
build: {
sourcemap: false,
},
optimizeDeps: {
include: ['monaco-editor']
}
},
routeRules: {
'/': { ssr: false }
}
})