DEV Community

Cover image for Persisting Vuex-Store in Quasar
Ikwegbu George
Ikwegbu George

Posted on

Persisting Vuex-Store in Quasar

Ok, today, I will guide you on how to successfully install and use the almighty Vuex-persistate on quasar :)

Table Of Contents

Installing The vuex-persistedstate

Alt Text

Run the above code in the terminal of the root of your project,

Import and Using the Package

Alt Text

From the Above image,

Line-4: Is used to import the vuex-persistedstate package as createPersistedState

PS: You can name it anything you want :),

Line-28: This is where you would add the importated package into your store.

Thats all.....have fune :)

Discussion (0)