Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage-type #47

Merged
merged 2 commits into from
Mar 18, 2019
Merged

Conversation

ShamatienkoYaroslav
Copy link
Contributor

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'.

@apertureless apertureless merged commit 16b14b1 into apertureless:develop Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants