From c0803c57089da5fea820831325252e08d850fca8 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 4 Nov 2023 13:48:59 +0800 Subject: refactor: rebuild with `vuetify` --- src/store/app.ts | 8 ++++++++ src/store/index.ts | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 src/store/app.ts create mode 100644 src/store/index.ts (limited to 'src/store') diff --git a/src/store/app.ts b/src/store/app.ts new file mode 100644 index 0000000..7429543 --- /dev/null +++ b/src/store/app.ts @@ -0,0 +1,8 @@ +// Utilities +import { defineStore } from 'pinia' + +export const useAppStore = defineStore('app', { + state: () => ({ + // + }), +}) diff --git a/src/store/index.ts b/src/store/index.ts new file mode 100644 index 0000000..1536252 --- /dev/null +++ b/src/store/index.ts @@ -0,0 +1,4 @@ +// Utilities +import { createPinia } from 'pinia' + +export default createPinia() -- cgit v1.2.3-70-g09d2