Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
- Add new methods to stores
- Wrap existing methods
- Change or even cancel actions
-- Implement side effects like local storage
+- Implement side effects like [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- Apply **only** to specific stores
Plugins are added to the pinia instance with `pinia.use()`. The simplest example is adding a static property to all stores by returning an object: