Skip to content

@pinia/root / pinia / createPinia

createPinia()

ts
function createPinia(): Pinia

Creates a Pinia instance to be used by the application

Returns

Pinia

Released under the MIT License.