Vuex : how to init the store with data from the localstorage?

前端 未结 0 1121
情书的邮戳
情书的邮戳 2020-11-28 16:57

I an learning Vue (3) and vuex.

I have this store :

export default new Vuex.Store({
      state: {
        user: null
      },
    
      mutations: {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题