13 lines
216 B
TypeScript
13 lines
216 B
TypeScript
import type { App } from 'vue';
|
|
|
|
import { createPinia } from 'pinia';
|
|
|
|
export * from './auth';
|
|
const store = createPinia();
|
|
|
|
export const setupStore = (app: App<Element>) => {
|
|
app.use(store);
|
|
};
|
|
|
|
export { store };
|