BREAKING CHANGE: To improve the plugin api capabilities, `pinia.use()`
now receives a context object instead of just `app`:
```js
// replace
pinia.use((app) => {})
// with
pinia.use(({ app }) => {})
```
+++ /dev/null
-# Plugins
-
-Pinia stores can be fully extended thanks to a low level API. Here is a list of things you can do:
-
-- Add new properties to stores
-- Add new methods to stores
-- Wrap existing methods
-- Change or even cancel actions
-- Implement side effects like local storage
-- Apply **only** to specific stores
-
-Plugins are added to pinia with `pinia.use()`:
-
-```js
-// add a property named `secret` to every store that is created after this plugin is installed
-pinia.use(() => ({ secret: '' }))
-```