mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-22 07:18:13 -05:00
7 lines
133 B
TypeScript
7 lines
133 B
TypeScript
![]() |
import { inject } from 'vue'
|
||
|
import { storeKey } from '@/store'
|
||
|
|
||
|
export const useStore = () => {
|
||
|
return inject(storeKey) ?? null
|
||
|
}
|