mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2026-02-19 17:40:26 +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 };
|