From 60641ba0ad8d521d1b1738faaa82e0b5b35ebf24 Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Thu, 1 Aug 2024 19:29:01 +0800 Subject: [PATCH] change background loading method --- app/src/components/QuestMap.vue | 123 ++++++++++++++++---------------- app/tailwind.config.ts | 3 + 2 files changed, 64 insertions(+), 62 deletions(-) diff --git a/app/src/components/QuestMap.vue b/app/src/components/QuestMap.vue index 52d0260..993530e 100644 --- a/app/src/components/QuestMap.vue +++ b/app/src/components/QuestMap.vue @@ -161,71 +161,70 @@ const edgeStyle = computed(() => { diff --git a/app/tailwind.config.ts b/app/tailwind.config.ts index 86b5160..7e2e587 100644 --- a/app/tailwind.config.ts +++ b/app/tailwind.config.ts @@ -24,6 +24,9 @@ export default { DEFAULT: '#FF0000', }, }, + backgroundImage: { + catelogbg: "url('src/img/catelogbg.svg')", + }, }, }, plugins: [],