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?: null
| Pinia
Pinia instance to retrieve the store
• hot?: StoreGeneric
dev only hot module replacement
Returns
Store
<"routerStore"
, Pick
<object
, "router"
>, Pick
<object
, never
>, Pick
<object
, never
>>