DEV Community

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

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 :)

Top comments (1)

Collapse
 
ahmetilhn profile image
Ahmet İlhan