From a5a6ea07d6ba202af3ba657f7e4904a4755cc5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Fri, 3 May 2024 20:19:44 +0200 Subject: [PATCH] fix: fixed vite builds! styles fixed by disabling vite server CSP --- Makefile | 6 ++++++ index.html | 4 ---- src/components/CategoryEditTree.vue | 2 +- src/main.js | 1 + src/visualizations/CategoryTree.vue | 17 +++++++++-------- src/visualizations/periodusage.js | 10 ++++------ vite.config.js | 7 ++++--- 7 files changed, 25 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 80e9502c..2ff44c1b 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,12 @@ endif build: install static/logo.png static/logo.svg npm run build ${androidflag} +vite-build: + npx vite build + +vite-dev: + npx vite + static/logo.%: media/logo/logo.% @mkdir -p static cp $< $@ diff --git a/index.html b/index.html index 925c5a4d..65590849 100644 --- a/index.html +++ b/index.html @@ -8,10 +8,6 @@ - - - -