From 18c1f12c696b5c5662b371a01b2ce2239efda95c Mon Sep 17 00:00:00 2001 From: Jeffrey Dowdle Date: Wed, 13 Dec 2023 13:29:08 +1100 Subject: [PATCH 1/4] feat(@dpc-sdp/nuxt-ripple): adds logging in vue/nuxt contexts --- .gitignore | 2 +- .../nuxt-ripple/components/TideBaseLayout.vue | 14 +++++++++++++- packages/nuxt-ripple/composables/use-logger.ts | 17 +++++++++++++++++ .../nuxt-ripple/plugins/00.logging.server.ts | 10 ++++++++++ packages/nuxt-ripple/plugins/site-theme.ts | 8 +++++++- 5 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 packages/nuxt-ripple/composables/use-logger.ts create mode 100644 packages/nuxt-ripple/plugins/00.logging.server.ts diff --git a/.gitignore b/.gitignore index 6242e8a82c..a1c4421952 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Temporary files node_modules -*.log* +*.log .nuxt .nitro .cache diff --git a/packages/nuxt-ripple/components/TideBaseLayout.vue b/packages/nuxt-ripple/components/TideBaseLayout.vue index 87439df571..1fbed978fc 100644 --- a/packages/nuxt-ripple/components/TideBaseLayout.vue +++ b/packages/nuxt-ripple/components/TideBaseLayout.vue @@ -93,7 +93,13 @@