test_lgq/web/stores/app.ts
2024-01-24 17:36:08 +08:00

18 lines
247 B
TypeScript

import { defineStore } from 'pinia'
interface App {
route: string
}
const useAppStore = defineStore('app', {
state: (): App => {
return {
route: ''
}
},
actions: {
}
})
export default useAppStore