From 48c7fe7a5b60846320825523a0117d55b78c1a43 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 2 Jul 2024 17:39:04 +0800 Subject: [PATCH 1/2] feat: show plugin settings modal when share url is not config Signed-off-by: Ryan Wang --- console/package.json | 3 +- console/src/views/UmamiView.vue | 49 ++++++++++++++------------ console/vite.config.ts | 62 +++++++-------------------------- 3 files changed, 40 insertions(+), 74 deletions(-) diff --git a/console/package.json b/console/package.json index a747dfd..308833e 100644 --- a/console/package.json +++ b/console/package.json @@ -1,6 +1,7 @@ { + "type": "module", "scripts": { - "dev": "vite build --watch", + "dev": "vite build --watch --mode=development", "build": "vite build", "preview": "vite preview --port 4173", "test:unit": "vitest --environment jsdom", diff --git a/console/src/views/UmamiView.vue b/console/src/views/UmamiView.vue index ebf2c70..e03adb0 100644 --- a/console/src/views/UmamiView.vue +++ b/console/src/views/UmamiView.vue @@ -1,39 +1,42 @@