first commit

This commit is contained in:
Adrian Zürcher
2025-05-05 18:38:51 +02:00
parent 584651a54e
commit 488ce84ae9
48 changed files with 9517 additions and 0 deletions

21
src/router/routes.ts Normal file
View File

@@ -0,0 +1,21 @@
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
path: '/',
component: () => import('layouts/MainLayout.vue'),
children: [
{ path: '', component: () => import('pages/IndexPage.vue') },
{ path: '/data', component: () => import('pages/DataPage.vue') },
],
},
// Always leave this as last one,
// but you can also remove it
{
path: '/:catchAll(.*)*',
component: () => import('pages/ErrorNotFound.vue'),
},
];
export default routes;