-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
53 lines (50 loc) · 992 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
49
50
51
52
53
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'vuetify-nuxt-module',
'@pinia/nuxt',
'@vueuse/nuxt',
'@vee-validate/nuxt',
'nuxt-monaco-editor',
"@formkit/auto-animate",
'@nuxt/eslint'
],
build: {
transpile: ['vue-sonner', 'vuetify'],
analyze: true, // To visualize bundle size
},
experimental: {
clientNodeCompat: true
},
future: {
compatibilityVersion: 4,
},
typescript: {
typeCheck: true,
strict: true
},
vuetify: {
moduleOptions: {
ssrClientHints: {
reloadOnFirstRequest: true,
viewportSize: true
}
},
},
monacoEditor: {
},
nitro: {
experimental: {
openAPI: true
},
openAPI: {
meta: {
title: 'Yacht API',
// description: 'This might become the next big thing.',
version: '1.0',
},
},
},
compatibilityDate: '2024-10-03'
})