refactor: split into component and use global app store
This commit is contained in:
6
stores/app.ts
Normal file
6
stores/app.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const useAppStore = defineStore("appStore", {
|
||||
state: () => ({
|
||||
qrCode: "/default.webp",
|
||||
apiModalOpened: false,
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user