wupengfei
8 天以前 dd81ab30e190b508edb7712888f51a0b9eaef168
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 };