I cloned this simple admin dashboard made with VueJs + AdminLTE project into my local, so far everything works ... but I am currently struggling to find out how to get the stored state from vuex specially from this line of code which I modified to:
// if user loggedin
if(response.data && response.status == 200){
this.$store.commit("USERNAME", data.username)
this.$store.commit("TEL", data.tel)
this.$store.commit('EMAIL', data.email)
this.$router.push({ path: '/' })
}
Once the page is redirected I am trying to get the username, tel, email but It doesn't exist.
I did console.log(this.$store)
I see many contents but not the user info