🎉 Init monorepo Nuxt 4 + Laravel 12 (Story 1.1)

Setup complet de l'infrastructure projet :
- Frontend Nuxt 4 (SSR, TypeScript, i18n, Pinia, TailwindCSS)
- Backend Laravel 12 API-only avec middleware X-API-Key et CORS
- Design tokens (sky-dark, sky-accent, sky-text) et polices (Merriweather, Inter)
- Documentation planning et implementation artifacts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 02:08:56 +01:00
commit ec1ae92799
116 changed files with 55669 additions and 0 deletions

44
frontend/nuxt.config.ts Normal file
View File

@@ -0,0 +1,44 @@
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: true,
future: {
compatibilityVersion: 4,
},
modules: [
'@nuxtjs/i18n',
'@pinia/nuxt',
'@nuxt/image',
'@nuxtjs/sitemap',
],
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
i18n: {
locales: ['fr', 'en'],
defaultLocale: 'fr',
strategy: 'prefix_except_default',
},
app: {
pageTransition: { name: 'page', mode: 'out-in' },
},
runtimeConfig: {
public: {
apiUrl: process.env.NUXT_PUBLIC_API_URL || 'http://localhost:8000/api',
apiKey: process.env.NUXT_PUBLIC_API_KEY || '',
},
},
compatibilityDate: '2025-01-01',
})