forked from LeHuth/mmt-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
35 lines (30 loc) · 968 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@nuxtjs/color-mode',
'@pinia-plugin-persistedstate/nuxt', '@nuxt/devtools', '@nuxt/image', '@morev/vue-transitions/nuxt', '@tailvue/nuxt'],
// @ts-ignore
colorMode: {
preference: 'light', // default theme
fallback: 'light', // fallback theme
dataValue: 'theme', // activate data-theme in <html> tag
classSuffix: ''
},
css: ['~/assets/Fonts.css', '~/assets/index.scss', 'vue-simple-range-slider/css'],
runtimeConfig: {
// Will be available in both server and client
public: {
jwtSecret: process.env.JWT_SECRET,
baseUrl: process.env.BASE_URL
},
server_jwtSecret: process.env.JWT_SECRET
},
app: {},
devtools: {
enabled: true
},
// @ts-ignore
image: {
format: ['webp'],
domains: ['nuxtjs.org', 'midjourney.com', 'storage.googleapis.com']
}
})