victorsferreira / vue-session

A simplistic session plugin for VueJS backed by SessionStorage and LocalStorage
204 stars 42 forks source link

Fix Persist Option? #22

Open jsfanatik opened 4 years ago

jsfanatik commented 4 years ago

Hey there! I really like this plugin! Are you still maintaining it? I am attempting to build a MEVN stack demo for the VueStacks Initiative (https://github.com/jsfanatik) demonstrating vue-session in an authentication app similar to this one: https://github.com/arminekhachatryan94/mevnchat. I tried adding the persist option to this app as you instructed, but it did not work. I ended up using the vue-persist plugin instead/. I would really like to the persist option work. Is that something you could address? Thanks!

SjamonDaal commented 4 years ago

This works for me. I did

Vue.use(VueSession, { persist: true })