make home route guest-only
This commit is contained in:
parent
3ba8646091
commit
dc02728af9
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ const router = createRouter({
|
||||||
path: '/',
|
path: '/',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: () => import('@/views/HomeView.vue'),
|
component: () => import('@/views/HomeView.vue'),
|
||||||
|
meta: {
|
||||||
|
guestOnly: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue