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