add notifiaction handling, error handling
This commit is contained in:
parent
ce708f5209
commit
1af288aa62
21 changed files with 4864 additions and 224 deletions
|
|
@ -10,6 +10,7 @@ import Warranties from "./components/pages/Warranties.vue";
|
|||
import Home from "./components/pages/Home.vue";
|
||||
import TestDateForm from "./components/pages/TestDateForm.vue";
|
||||
import Client from "./components/pages/Client.vue";
|
||||
import ErrorHandlingDemo from "./components/pages/ErrorHandlingDemo.vue";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
|
|
@ -25,6 +26,8 @@ const routes = [
|
|||
{ path: "/timesheets", component: TimeSheets },
|
||||
{ path: "/warranties", component: Warranties },
|
||||
{ path: "/test-dates", component: TestDateForm },
|
||||
{ path: "/dev/error-handling-demo", component: ErrorHandlingDemo },
|
||||
{ path: "/:pathMatch(.*)*", component: Home }, // Fallback to Home for unknown routes
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue