Storage: cookie support
Opened this issue · 0 comments
florian-lefebvre commented
Is your feature request related to a problem? Please describe.
When doing SSR apps (with Nuxt 3 for instance), storing data is useful to it on both server and client side.
Describe the solution you'd like
I'd like to be able to choose cookie as the storage type. BTW, as Nuxt 3 provides a useCookie
composable, it might be interesting to import the package using this composable like @harlem/extension-storage/nuxt
(or this might concern the official nuxt module).
Describe alternatives you've considered
None for now as I'm considering switching from pinia.
Additional context
None.