- 43 fichiers v1 supprimés (composants documents/protocols/sanctuary/toolbox, stores auth/documents/groups/mandates/organizations/protocols/votes, composables api/notifications/formula/websocket, utils doublons du moteur) - nuxt.config épuré (polkadot retiré, KaTeX et apiBase gardés), meta v2 - README.md, CONTRIBUTING.md, CLAUDE.md réécrits pour la v2 - Build zéro erreur, 342/342 tests verts Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.9 KiB
TypeScript
50 lines
1.9 KiB
TypeScript
export default defineNuxtConfig({
|
|
extends: ['@yvv/nuxt-base'],
|
|
compatibilityDate: '2025-07-15',
|
|
ssr: false,
|
|
devtools: { enabled: false },
|
|
devServer: { port: 3002, host: '0.0.0.0' },
|
|
components: [{ path: '~/components', pathPrefix: false }],
|
|
css: ['~/assets/css/moods.css'],
|
|
modules: [
|
|
'@nuxt/ui',
|
|
'@pinia/nuxt',
|
|
'@unocss/nuxt',
|
|
'@vueuse/nuxt',
|
|
],
|
|
app: {
|
|
head: {
|
|
htmlAttrs: { lang: 'fr' },
|
|
meta: [
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=5' },
|
|
{ name: 'description', content: 'Boîte à outils de la première démocratie — décider ensemble, du trio à la population' },
|
|
{ name: 'theme-color', content: '#16a34a' },
|
|
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
|
|
{ name: 'apple-mobile-web-app-status-bar-style', content: 'default' },
|
|
{ name: 'mobile-web-app-capable', content: 'yes' },
|
|
{ property: 'og:title', content: 'libreDecision' },
|
|
{ property: 'og:description', content: 'Décider ensemble, du trio à la population' },
|
|
{ property: 'og:type', content: 'website' },
|
|
],
|
|
title: 'libreDecision',
|
|
link: [
|
|
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
|
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap' },
|
|
{ rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css' },
|
|
],
|
|
script: [
|
|
{ src: 'https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js', defer: true },
|
|
],
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://localhost:8002/api/v1',
|
|
},
|
|
},
|
|
nitro: {
|
|
compressPublicAssets: true,
|
|
},
|
|
})
|