refactor: split into component and use global app store

This commit is contained in:
Pihkaal
2024-10-16 02:01:39 +02:00
parent 2cd8512149
commit 80a63a320c
14 changed files with 474 additions and 386 deletions

6
stores/app.ts Normal file
View File

@@ -0,0 +1,6 @@
export const useAppStore = defineStore("appStore", {
state: () => ({
qrCode: "/default.webp",
apiModalOpened: false,
}),
});