mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
121 lines
1.6 KiB
TypeScript
121 lines
1.6 KiB
TypeScript
export default defineNuxtConfig({
|
|
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'@nuxtjs/mdc',
|
|
'@nuxt/content',
|
|
'@nuxthub/core',
|
|
'@nuxt/eslint',
|
|
'@vueuse/nuxt',
|
|
'nuxt-studio'
|
|
],
|
|
|
|
devtools: {
|
|
enabled: true
|
|
},
|
|
|
|
app: {
|
|
pageTransition: { name: 'page', mode: 'out-in' },
|
|
rootAttrs: {
|
|
class: 'bg-[var(--ui-bg)]'
|
|
}
|
|
},
|
|
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
colorMode: {
|
|
preference: 'system',
|
|
fallback: 'light'
|
|
},
|
|
|
|
content: {
|
|
database: {
|
|
type: 'd1',
|
|
bindingName: 'DB'
|
|
}
|
|
},
|
|
|
|
mdc: {
|
|
headings: {
|
|
anchorLinks: false
|
|
}
|
|
},
|
|
|
|
ui: {
|
|
theme: {
|
|
colors: [
|
|
'white',
|
|
'black',
|
|
'cyan',
|
|
'gray',
|
|
'zinc',
|
|
'red',
|
|
'orange',
|
|
'amber',
|
|
'green',
|
|
'emerald',
|
|
'sky',
|
|
'blue',
|
|
'purple',
|
|
'pink',
|
|
'neutral'
|
|
]
|
|
}
|
|
},
|
|
|
|
runtimeConfig: {
|
|
discord: {
|
|
userId: '',
|
|
id: ''
|
|
},
|
|
statusPage: '',
|
|
wakatime: {
|
|
userId: '',
|
|
coding: '',
|
|
editors: '',
|
|
languages: '',
|
|
os: ''
|
|
}
|
|
},
|
|
|
|
experimental: {
|
|
viewTransition: true
|
|
},
|
|
compatibilityDate: '2025-12-13',
|
|
|
|
nitro: {
|
|
preset: 'cloudflare_module',
|
|
experimental: {
|
|
openAPI: true
|
|
},
|
|
|
|
prerender: {
|
|
crawlLinks: true
|
|
}
|
|
},
|
|
|
|
hub: {
|
|
cache: true,
|
|
db: 'sqlite'
|
|
},
|
|
|
|
eslint: {
|
|
config: {
|
|
stylistic: {
|
|
quotes: 'single',
|
|
commaDangle: 'never'
|
|
}
|
|
}
|
|
},
|
|
|
|
studio: {
|
|
route: '/studio',
|
|
repository: {
|
|
provider: 'github',
|
|
owner: 'ArthurDanjou',
|
|
repo: 'artsite',
|
|
branch: 'master'
|
|
}
|
|
}
|
|
})
|