From 05bb7b3cd5b6c48310dc86a5d2c72e879a194d22 Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 12 Apr 2024 00:23:57 +0200 Subject: [PATCH] global data avec useState --- .gitignore | 1 + app.vue | 22 ++++------- components/Header.vue | 8 +++- error.vue | 35 +++++++++-------- nuxt.config.ts | 88 ++++++++++++++++++++++++++++++++++++------- pages/contact.vue | 13 ++++++- pages/galerie.vue | 8 ++-- pages/magasin.vue | 10 ++--- 8 files changed, 125 insertions(+), 60 deletions(-) diff --git a/.gitignore b/.gitignore index 4a7f73a..2a52fb5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .nitro .cache dist +public/api # Node dependencies node_modules diff --git a/app.vue b/app.vue index aa7dfef..9722e43 100644 --- a/app.vue +++ b/app.vue @@ -5,23 +5,17 @@ -