- ToolboxVignette: prop bullets[] remplace description, touch targets agrandis - Design arrondi: border-radius 16px cards, 20px pills, 12px inputs, no borders - Hover animations: translateY(-3px) + shadow, active states pour touch - SectionLayout: toolbox accordion mobile, pills scroll horizontal, responsive title/subtitle - app.vue: MoodSwitcher dans drawer mobile, header responsive, nav touch-friendly - Dashboard: grille 2-colonnes mobile, connect banner column layout, formula code scroll - Documents/decisions/mandates/protocols: cards responsive (padding, font-size, gap) - Login: touch targets 3rem min, iOS zoom prevention, responsive sizing - Modals: padding responsive sm:p-6 - Protocols: table compact mobile, proto items responsive - nuxt.config: host 0.0.0.0 pour fix IPv4/IPv6 binding Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.8 KiB
TypeScript
49 lines
1.8 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
ssr: false,
|
|
devtools: { enabled: true },
|
|
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: '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: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
|
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&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,
|
|
},
|
|
})
|