Closed simplenotezy closed 3 years ago
I have a module called "cart.js". How can I enable storage for this module? Do I really have to contain states inside the "localStorage.js" file, or can I somehow just tell the module to save keys in localStorage?
Just modify the config
Thanks for your reply! Will that store EVERY key in localstorage for the given store?
yes
I have a module called "cart.js". How can I enable storage for this module? Do I really have to contain states inside the "localStorage.js" file, or can I somehow just tell the module to save keys in localStorage?