From a6d88278be145a53e81f4b2a33324c45befab1ec Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Wed, 3 Jan 2024 17:38:11 +0100 Subject: [PATCH] Remove appconfig in favor of runtimeconfig --- client/app.config.ts | 7 -- client/components/global/Navbar.vue | 76 +++++++++++-------- client/components/open/forms/OpenForm.vue | 4 +- .../open/forms/components/FormEditor.vue | 8 +- .../form-components/FormNotifications.vue | 19 ++--- .../forms/create/CreateFormBaseModal.vue | 6 +- client/composables/useAmplitude.js | 8 +- client/composables/useOpnApi.js | 5 +- client/nuxt.config.ts | 4 +- client/opnform.config.js | 14 +--- client/pages/index.vue | 6 +- client/pages/pricing.vue | 2 +- client/pages/settings/workspace.vue | 3 +- client/plugins/amplitude.js | 4 +- client/plugins/crisp.client.js | 5 +- client/runtimeConfig.js | 16 ++++ client/sitemap.js | 2 +- client/stores/notion_pages.js | 4 +- 18 files changed, 103 insertions(+), 90 deletions(-) delete mode 100644 client/app.config.ts create mode 100644 client/runtimeConfig.js diff --git a/client/app.config.ts b/client/app.config.ts deleted file mode 100644 index a859256..0000000 --- a/client/app.config.ts +++ /dev/null @@ -1,7 +0,0 @@ -// https://nuxt.com/docs/guide/directory-structure/app-config - -import opnformConfig from "~/opnform.config.js"; - -export default defineAppConfig({ - ...opnformConfig -}) \ No newline at end of file diff --git a/client/components/global/Navbar.vue b/client/components/global/Navbar.vue index d7fa9a4..4016b69 100644 --- a/client/components/global/Navbar.vue +++ b/client/components/global/Navbar.vue @@ -3,7 +3,8 @@
- + notion tools logo OpnForm - +
-