- 🏗 Modular by design
- 📦 Extremely light
-Pinia works both for Vue 2.x and Vue 3.x and you are currently on the branch that supports Vue 3.x. **If you are looking for the version compatible with Vue 2.x, check the [`v1` branch](https://github.com/posva/pinia/tree/v1)**.
+Pinia works both for Vue 2.x and Vue 3.x. It requires Vue 2 with `@vue/composition-api` `^1.1.0-0` or Vue `^3.2.0-0`.
Pinia is is the most similar English pronunciation of the word _pineapple_ in Spanish: _piña_. A pineapple is in reality a group of individual flowers that join together to create a multiple fruit. Similar to stores, each one is born individually, but they are all connected at the end. It's also a delicious tropical fruit indigenous to South America.
npm install pinia@next
```
+Note: If you are using Vue `^3.2.0` or `@vue/composition-api` `^1.1.0` (with Vue 2), give `pinia@beta` a try! [Check this issue](https://github.com/posva/pinia/issues/592) for more information and to ask questions.
+
## Usage
### Install the plugin
app.use(createPinia())
```
-This will also add devtools support. Some features like time traveling and editing are still not supported because vue-devtools doesn't expose the necessary APIs yet.
-
-### Creating a Store
+### Create a Store
You can create as many stores as you want, and they should each exist in different files: