v2.0.0-pre.18
Stores Overview
Stores are more modular in Feathers-Pinia 2.0. The Vue Composition API allows each Model Function to have its own standalone store, by default. You can also create Pinia stores and even setup Model Functions and Pinia stores to work together.
What to Learn
These Store-related pages teach the most important concepts for using the various types of stores available in Feathers-Pinia.
- Model Stores
- BaseModel stores gives you the core storage, and the clone and commit functionality.
- FeathersModel stores build on top of BaseModel stores and add Feathers-related functionality.
- Pinia Stores shows you how to build
setup
stores with Pinia- useService is for creating service stores.
- useAuth is for creating authentication stores.