-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
50 lines (45 loc) · 991 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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
import process from 'node:process'
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@vueuse/nuxt',
[
'@pinia/nuxt',
{
autoImports: ['defineStore'],
},
],
[
'vuetify-nuxt-module',
{
moduleOptions: {
prefersColorScheme: true,
prefersColorSchemeOptions: {
cookieName: 'vuetify-theme',
},
},
vuetifyOptions: './vuetify.config.ts',
},
],
],
eslint: {
config: {
standalone: false,
},
},
runtimeConfig: {
appClientSecret: process.env.NUXT_APP_CLIENT_SECRET,
public: {
pcloudAuthUrl: process.env.NUXT_PUBLIC_PCLOUD_AUTH_URL,
redirectUri: process.env.NUXT_PUBLIC_REDIRECT_URI,
appClientId: process.env.NUXT_PUBLIC_APP_CLIENT_ID,
},
},
nitro: {
experimental: {
openAPI: true,
},
},
compatibilityDate: '2024-07-11',
})