Skip to content

API Documentation / @pinia/colada / PiniaColadaOptions

Interface: PiniaColadaOptions

Options for the Pinia Colada plugin.

Properties

mutationOptions?

ts
optional mutationOptions: UseMutationOptionsGlobal;

Global options for mutations. These will apply to all useMutation(), defineMutation(), etc.


pinia?

ts
optional pinia: Pinia;

Pinia instance to use. This is only needed if installing before the Pinia plugin.


plugins?

ts
optional plugins: PiniaColadaPlugin[];

Pinia Colada plugins to install.


queryOptions?

ts
optional queryOptions: UseQueryOptionsGlobal;

Global options for queries. These will apply to all useQuery(), defineQuery(), etc.

Released under the MIT License.