You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
148 B

1 month ago
  1. import {createPinia} from 'pinia';
  2. export const store = createPinia();
  3. // 全局挂载store
  4. export function setupStore(app) {
  5. app.use(store);
  6. }