From d9333f2189582ec983bd3a4ab46d0d0e354b0c39 Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 12 Apr 2024 16:14:02 +0200 Subject: [PATCH] debug fetching global data error page on ssg --- app.vue | 12 +++--------- components/Header.vue | 26 +++++++++++++------------- composables/useFetchGlobalData.js | 11 +++++++++++ error.vue | 27 ++++++++++----------------- nuxt.config.ts | 5 +++++ pages/contact.vue | 9 +++++---- pages/index.vue | 10 +++++++--- pages/magasin.vue | 6 +++--- server/api/[...].ts | 2 +- 9 files changed, 58 insertions(+), 50 deletions(-) create mode 100644 composables/useFetchGlobalData.js diff --git a/app.vue b/app.vue index 9722e43..97b609c 100644 --- a/app.vue +++ b/app.vue @@ -1,17 +1,11 @@