From 683cf7aacd0babb8db41b4d9975e1cc8b6cef835 Mon Sep 17 00:00:00 2001 From: Hilton Meyer Date: Wed, 3 Mar 2021 17:46:01 +0200 Subject: [PATCH] feat(router): Add navigation guard --- src/components/ui/TheHeader.vue | 13 +++++++------ src/main.js | 8 +++++++- src/router/index.js | 3 ++- src/store/auth/index.js | 1 + src/store/auth/mutations.js | 3 ++- src/store/index.js | 7 +++---- src/views/Login.vue | 13 +++++-------- 7 files changed, 27 insertions(+), 21 deletions(-) diff --git a/src/components/ui/TheHeader.vue b/src/components/ui/TheHeader.vue index b7b5f28..5c89691 100644 --- a/src/components/ui/TheHeader.vue +++ b/src/components/ui/TheHeader.vue @@ -29,14 +29,14 @@