mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 18:59:59 +01:00
126 lines
2.0 KiB
TypeScript
126 lines
2.0 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-12-13',
|
|
|
|
app: {
|
|
pageTransition: { name: 'page', mode: 'out-in' },
|
|
head: {
|
|
templateParams: {
|
|
separator: '•',
|
|
},
|
|
},
|
|
rootAttrs: {
|
|
class: 'bg-[var(--ui-bg)]',
|
|
},
|
|
},
|
|
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'@nuxt/content',
|
|
'@nuxthub/core',
|
|
'@nuxt/eslint',
|
|
'@vueuse/nuxt',
|
|
'@nuxtjs/i18n',
|
|
'nuxt-studio'
|
|
],
|
|
|
|
hub: {
|
|
cache: true,
|
|
db: 'sqlite',
|
|
},
|
|
|
|
ui: {
|
|
theme: {
|
|
colors: [
|
|
'white',
|
|
'black',
|
|
'cyan',
|
|
'gray',
|
|
'zinc',
|
|
'red',
|
|
'orange',
|
|
'amber',
|
|
'green',
|
|
'emerald',
|
|
'sky',
|
|
'blue',
|
|
'purple',
|
|
'pink',
|
|
'neutral',
|
|
],
|
|
},
|
|
},
|
|
|
|
studio: {
|
|
route: '/studio',
|
|
repository: {
|
|
provider: 'github',
|
|
owner: 'ArthurDanjou',
|
|
repo: 'artsite',
|
|
branch: 'master'
|
|
}
|
|
},
|
|
|
|
colorMode: {
|
|
preference: 'system',
|
|
fallback: 'light',
|
|
},
|
|
|
|
devtools: {
|
|
enabled: true,
|
|
},
|
|
|
|
i18n: {
|
|
strategy: 'no_prefix',
|
|
compilation: {
|
|
strictMessage: false,
|
|
},
|
|
bundle: {
|
|
fullInstall: false,
|
|
dropMessageCompiler: true,
|
|
},
|
|
locales: [
|
|
{
|
|
label: 'English',
|
|
code: 'en',
|
|
language: 'en-EN',
|
|
icon: 'i-twemoji-flag-united-kingdom',
|
|
},
|
|
{
|
|
label: 'Français',
|
|
code: 'fr',
|
|
language: 'fr-FR',
|
|
icon: 'i-twemoji-flag-france',
|
|
},
|
|
{
|
|
label: 'Español',
|
|
code: 'es',
|
|
language: 'es-ES',
|
|
icon: 'i-twemoji-flag-spain',
|
|
},
|
|
],
|
|
defaultLocale: 'en',
|
|
},
|
|
|
|
nitro: {
|
|
preset: 'cloudflare_module',
|
|
|
|
prerender: {
|
|
routes: ['/'],
|
|
crawlLinks: true,
|
|
ignore: ['/__nuxt_content', '/api/_content', '/studio']
|
|
}
|
|
},
|
|
|
|
runtimeConfig: {
|
|
api: {
|
|
url: ''
|
|
},
|
|
public: {
|
|
i18n: {
|
|
baseUrl: '',
|
|
},
|
|
},
|
|
},
|
|
}) |