Files
bab-app/src/stores/index.ts
Patrick Toal 67c7a3c050
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 1m17s
chore: Update dependencies to latest
fix: claude fixes to various errors
2026-03-15 10:41:12 -04:00

20 lines
486 B
TypeScript

import { defineStore } from '#q-app/wrappers';
import { createPinia } from 'pinia';
/*
* If not building with SSR mode, you can
* directly export the Store instantiation;
*
* The function below can be async too; either use
* async/await or return a Promise which resolves
* with the Store instance.
*/
export default defineStore((/* { ssrContext } */) => {
const pinia = createPinia();
// You can add Pinia plugins here
// pinia.use(SomePiniaPlugin)
return pinia;
});