Skip to content

Glossary: Vue.js

createPinia

Also written: app.use(createPinia())

The function that creates Pinia's central instance. Passing it to `app.use(...)` in `main.js` turns stores on.

Where the book teaches it

Related terms

PiniaStore