Sign in

canrd-outside / order-erp-front · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • order-erp-front
  • src
  • store
  • index.ts
  • perf(router): reduce the number of guard files
    327d71b8
    vben authored
    2021-06-27 22:59:59 +0800  
    Browse File ยป
index.ts 187 Bytes
Edit Raw Blame History Permalink
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 };