API Documentation / pinia / PiniaPluginContext
Interface: PiniaPluginContext<Id, S, G, A>
pinia.PiniaPluginContext
Context argument passed to Pinia plugins.
Type parameters
Name | Type |
---|---|
Id | extends string = string |
S | extends StateTree = StateTree |
G | _GettersTree <S > |
A | _ActionsTree |
Properties
app
• app: App
<any
>
Current app created with Vue.createApp()
.
Defined in
options
• options: DefineStoreOptionsInPlugin
<Id
, S
, G
, A
>
Current store being extended.
Defined in
pinia
• pinia: Pinia
pinia instance.
Defined in
store
• store: Store
<Id
, S
, G
, A
>
Current store being extended.