Sign in

简柏林 / thingskit-view · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit-view
  • src
  • store
  • index.ts
  • Initial commit
    a7f18193
    xp.Huang authored
    2023-02-20 11:03:39 +0800  
    Browse Files »
index.ts 187 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10
import type { App } from 'vue';
import { createPinia } from 'pinia';

const pinia = createPinia();

export function setupStore(app: App<Element>) {
  app.use(pinia);
}

export { pinia };