Files
librodrome/nuxt.config.ts
Yvv acf66513af Fix ports dev : librodrome→3000, grateWizard→3001
Évite les conflits de ports entre projets :
- nuxt.config.ts : devServer.port fixé à 3000
- app.config.ts : URL dev grateWizard corrigée 3009→3001

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:05:43 +01:00

48 lines
961 B
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
devServer: {
port: 3000,
},
modules: [
'@nuxt/content',
'@pinia/nuxt',
'@unocss/nuxt',
'@vueuse/nuxt',
'@nuxt/image',
],
app: {
head: {
htmlAttrs: { lang: 'fr' },
link: [
{ rel: 'preconnect', href: 'https://fonts.bunny.net' },
{
rel: 'stylesheet',
href: 'https://fonts.bunny.net/css?family=syne:400,500,600,700,800|space-grotesk:300,400,500,600,700|jetbrains-mono:400,500,700',
},
],
meta: [
{ name: 'color-scheme', content: 'dark' },
],
},
pageTransition: { name: 'page', mode: 'out-in' },
},
css: [
'~/assets/css/main.css',
],
runtimeConfig: {
adminPassword: '',
adminSecret: '',
public: {
siteUrl: 'https://librodrome.org',
},
},
})