Skip to content

@pinia/root / pinia / createPinia

createPinia()

ts
function createPinia(options?): Pinia

Creates a Pinia instance to be used by the application

Parameters

options?

CreatePiniaOptions

Returns

Pinia

Released under the MIT License.