index.ts 185 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 import type { App } from 'vue' import { createPinia } from 'pinia' const store = createPinia() export const setupStore = (app: App<Element>) => { app.use(store) } export { store }