Files
decision/frontend/nuxt.config.ts
Yvv 77dceb49c3 Refonte design : 4 humeurs, onboarding, sections avec boite a outils
- Systeme de themes adaptatifs : Peps (light chaud), Zen (light calme),
  Chagrine (dark violet), Grave (dark ambre) avec CSS custom properties
- Dashboard d'accueil orienté onboarding avec cartes-portes et teaser
  boite a outils
- SectionLayout reutilisable : liste + sidebar toolbox + status pills
  cliquables (En prepa / En vote / En vigueur / Clos)
- ToolboxVignette : vignettes Contexte / Tutos / Choisir / Demarrer
- Seed : Acte engagement certification + forgeron, Runtime Upgrade
  (decision on-chain), 3 modalites de vote (majoritaire, quadratique,
  permanent)
- Backend adapte SQLite (Uuid portable, 204 fix, pool conditionnel)
- Correction noms composants (pathPrefix: false), pinia/nuxt ^0.11

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 17:44:48 +01:00

46 lines
1.5 KiB
TypeScript

export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
ssr: false,
devtools: { enabled: true },
devServer: { port: 3002 },
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: 'Plateforme de decisions collectives pour la communaute Duniter/G1' },
{ 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: 'Glibredecision' },
{ property: 'og:description', content: 'Decisions collectives pour la communaute Duniter/G1' },
{ property: 'og:type', content: 'website' },
],
title: 'Glibredecision',
link: [
{ 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,
},
})