mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-04-25 16:07:19 +08:00
10 lines
186 B
TypeScript
10 lines
186 B
TypeScript
import type { App } from "vue";
|
|
import { createPinia } from "pinia";
|
|
const store = createPinia();
|
|
|
|
export function setupStore(app: App<Element>) {
|
|
app.use(store);
|
|
}
|
|
|
|
export { store };
|