vuejs / pinia

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
https://pinia.vuejs.org
MIT License
12.72k stars 996 forks source link

Composition API documentation #2653

Closed desvandev closed 2 months ago

desvandev commented 2 months ago

What problem is this solving

I have been trying to use most of the features with Composition API but I'm having a hard time. Almost every example in the docs are using Options Api. As far as I can tell Pinia is very limited in functionality when using Composition API, at least that's my impression.

Proposed solution

Doc examples with Composition API, including plugins.

Describe alternatives you've considered

No response

posva commented 2 months ago

It's indeed lacking and it's planned in #829. I need time and funding to port some of the content of https://masteringpinia.com to docs but Mastering Pinia will always have more content and in-depth and practical explanations. I think it have the content you are looking for 😃