-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sometime there is a need to specify storage (localStorage or Cookies), like in situations, when you use Nuxt.js and there is a need to read 'cookies:accept' in `nuxtServerInit` hook. So, you can't work with **localStorage** and with **SSR**. Thats why it will be great to choose where to store. I've added prop called `storageType`. It can be 'localStorage' (default) or 'cookies'.
- Loading branch information
1 parent
b155e85
commit 16b14b1
Showing
2 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters