mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 20:59:57 +01:00
86 lines
1.3 KiB
TypeScript
86 lines
1.3 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
future: { compatibilityVersion: 4 },
|
|
|
|
modules: [
|
|
'@nuxthub/core',
|
|
'@nuxt/eslint',
|
|
'@nuxt/ui',
|
|
'@nuxt/content',
|
|
'@vueuse/nuxt',
|
|
'@nuxtjs/google-fonts',
|
|
'@nuxthq/studio',
|
|
'@nuxt/image'
|
|
],
|
|
|
|
hub: {
|
|
cache: true,
|
|
kv: true
|
|
},
|
|
|
|
app: {
|
|
pageTransition: { name: 'page', mode: 'out-in' }
|
|
},
|
|
|
|
content: {
|
|
highlight: {
|
|
theme: 'github-dark'
|
|
}
|
|
},
|
|
|
|
colorMode: {
|
|
preference: 'light',
|
|
fallback: 'light'
|
|
},
|
|
|
|
ui: {
|
|
icons: ['heroicons', 'logos', 'ph']
|
|
|
|
},
|
|
|
|
devtools: {
|
|
enabled: true,
|
|
timeline: { enabled: true }
|
|
},
|
|
|
|
eslint: {
|
|
config: {
|
|
stylistic: {
|
|
quotes: 'single',
|
|
commaDangle: 'never'
|
|
}
|
|
}
|
|
},
|
|
|
|
googleFonts: {
|
|
display: 'swap',
|
|
families: {
|
|
'Inter': [400, 500, 600, 700, 800, 900],
|
|
'Sofia Sans': [400],
|
|
'DM Sans': [400, 500, 600, 700, 800, 900],
|
|
'Dancing Script': [400, 700]
|
|
}
|
|
},
|
|
|
|
nitro: {
|
|
experimental: {
|
|
openAPI: true
|
|
}
|
|
},
|
|
|
|
runtimeConfig: {
|
|
discord: {
|
|
userId: "",
|
|
id: "",
|
|
token: "",
|
|
},
|
|
wakatime: {
|
|
userId: "",
|
|
coding: "",
|
|
editors: "",
|
|
languages: "",
|
|
os: "",
|
|
},
|
|
},
|
|
})
|