From ad4bbef65b1621a8f5ef609b459fb75084b909ac Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 7 Sep 2024 15:17:33 +0800 Subject: chore: move site dir --- 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