wupengfei
8 天以前 ead4078079a71bbef43ffc22a7ea7fb0f4039bf0
1
2
3
4
5
6
7
8
9
import type { App } from 'vue';
import { createPinia } from 'pinia';
const store = createPinia();
 
export function setupStore(app: App<Element>) {
  app.use(store);
}
 
export { store };