-
Bart Chou authored
2. server return session token with Usermodel after successfully login -> store login status in vuex 3. add log out button -> clear token in localstorage and login status in vuex 4. now we can define each route whether it needs auth (login status) to continue redirecting
Bart Chou authored2. server return session token with Usermodel after successfully login -> store login status in vuex 3. add log out button -> clear token in localstorage and login status in vuex 4. now we can define each route whether it needs auth (login status) to continue redirecting
AppHeader.vue 993 B