From 65e3520ecfcdf286b5954a7ae5b5e4edd3f1be64 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Wed, 28 May 2025 09:46:43 +1000 Subject: [PATCH] feat(Library): add Library page and integrate favourites functionality refactor(useFavourites): switch from chrome.storage.sync to chrome.storage.local and normalize favourites data --- src/App.vue | 2 +- src/main.ts | 4 +- src/pages/Library.vue | 97 +++++++++++++++++++++++++++++++++++++ src/stores/useFavourites.ts | 63 ++++++++++++++++++++---- 4 files changed, 155 insertions(+), 11 deletions(-) create mode 100644 src/pages/Library.vue diff --git a/src/App.vue b/src/App.vue index dcdbb6b..5f57636 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,7 @@ const router = useRouter()