Skip to content

Guia completo para

Dominar a Pinia

escrito pelo seu criador

ads via Carbon Squarespace tools make it easy to create a beautiful and unique website. ads via Carbon

API Documentation / pinia / PiniaPlugin

Interface: PiniaPlugin

pinia.PiniaPlugin

Plugin to extend every store.

Callable

PiniaPlugin

PiniaPlugin(context): void | Partial<PiniaCustomProperties<string, StateTree, _GettersTree<StateTree>, _ActionsTree> & PiniaCustomStateProperties<StateTree>>

Plugin to extend every store. Returns an object to extend the store or nothing.

Parameters

NameTypeDescription
contextPiniaPluginContext<string, StateTree, _GettersTree<StateTree>, _ActionsTree>Context

Returns

void | Partial<PiniaCustomProperties<string, StateTree, _GettersTree<StateTree>, _ActionsTree> & PiniaCustomStateProperties<StateTree>>

Lançada sob a Licença MIT.

AI-Driven Development
Oops, you missed out on the Insider Perks.
But something more is coming...
Join Waitlist