From: Jonathan Date: Wed, 9 Mar 2022 14:23:50 +0000 (+0100) Subject: ... or session storage (#1125) X-Git-Tag: @pinia/testing@0.0.10~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64fac12b6f9dc8999f571170526c350e2a67d4a4;p=thirdparty%2Fvuejs%2Fpinia.git ... or session storage (#1125) Co-authored-by: Eduardo San Martin Morote --- diff --git a/packages/docs/core-concepts/plugins.md b/packages/docs/core-concepts/plugins.md index ea22a043..16927fb1 100644 --- a/packages/docs/core-concepts/plugins.md +++ b/packages/docs/core-concepts/plugins.md @@ -7,7 +7,7 @@ Pinia stores can be fully extended thanks to a low level API. Here is a list of - 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: