Community-led documentation about using Pinia with Vike.

💚
This page may contain outdated information, PR welcome to update or improve this page.

If you are using vike-vue you can use vike-vue-pinia for automatic integration.

The vike-vue-pinia extension requires vike-vue.

Manual integration

To manually integrate Pinia, see:

Examples of integrating Pinia without using vike-vue:

You can also have a look at the source code of vike-vue-pinia.

See also