This commit is contained in:
2026-04-18 10:49:13 +03:00
parent ed93e45085
commit c4e113a494
7 changed files with 143 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/auth/Login.vue'
import Setup from '../views/auth/Setup.vue'
import Dashboard from '../views/Dashboard.vue'
import NotFound from '../views/NotFound.vue'
const routes = [
{ path: '/login', component: Login, meta: { title: 'Login' } },
@@ -14,6 +15,12 @@ const routes = [
{
path: '/',
redirect: '/dashboard'
},
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
component: NotFound,
meta: { title: 'Page Not Found', requiresAuth: false }
}
]