6 lines
169 B
TypeScript
6 lines
169 B
TypeScript
import { createPinia } from 'pinia'
|
|
|
|
// Single shared Pinia instance so router guards and app use the same store
|
|
export const pinia = createPinia()
|
|
export default pinia
|