@pinia/root / pinia / PiniaPluginContext
PiniaPluginContext<Id, S, G, A>
Context argument passed to Pinia plugins.
Type Parameters
Id
Id extends string = string
S
S extends StateTree = StateTree
G
G = _GettersTree<S>
A
A = _ActionsTree
Properties
app
ts
app: App;Current app created with Vue.createApp().
options
ts
options: DefineStoreOptionsInPlugin<Id, S, G, A>;Initial options defining the store when calling defineStore().
pinia
ts
pinia: Pinia;pinia instance.
store
ts
store: Store<Id, S, G, A>;Current store being extended.

