robinvdvleuten / vuex-persistedstate

💾 Persist and rehydrate your Vuex state between page reloads.
https://npm.im/vuex-persistedstate
MIT License
5.77k stars 378 forks source link

docs(readme): add instructions for Nuxt Bridge #437

Open dargmuesli opened 2 years ago

dargmuesli commented 2 years ago

What:

I've added documentation on how to use this module with Nuxt Bridge.

Why:

The underlying webserver changed to h3 in Nuxt's new Nitro engine, making usage of js-cookie unnecessary! One now has to use h3's useCookie method.

How:

Works like this in a project of mine.

Checklist: