Function: useRouterStore()
useRouterStore(
pinia
?,hot
?):Store
<"routerStore"
,Pick
<object
,"router"
>,Pick
<object
,never
>,Pick
<object
,never
>>
Returns a store, creates it if necessary.
Parameters
pinia?
Pinia instance to retrieve the store
null
| Pinia
hot?
StoreGeneric
dev only hot module replacement
Returns
Store
<"routerStore"
, Pick
<object
, "router"
>, Pick
<object
, never
>, Pick
<object
, never
>>