added: login, logout and auto refresh token
This commit is contained in:
parent
72c796c429
commit
f66c014a36
9 changed files with 189 additions and 63 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import HomeView from '../views/HomeView.vue'
|
||||
import StartPageView from '../views/StartPageView.vue'
|
||||
import LoginView from '@/views/LoginView.vue'
|
||||
|
||||
const router = createRouter({
|
||||
|
|
@ -7,8 +7,8 @@ const router = createRouter({
|
|||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: HomeView,
|
||||
name: 'startPage',
|
||||
component: StartPageView,
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue