Main Site Work

+ Updatet Router
+ "Hauptseite" mit Großem Bild
This commit is contained in:
2025-11-22 17:04:45 +01:00
parent 30eeaabc5a
commit a118026b04
13 changed files with 97 additions and 40 deletions

View File

@@ -1,17 +1,9 @@
import Home from '@/routes/Home.vue'
import NotFound from '@/routes/404NotFound.vue'
import { createRouter, createWebHistory } from 'vue-router'
import { routes } from '@/plugins/routesLayout'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
name: 'Home',
path: '/',
component: Home,
},
{ path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
],
routes: routes.map(x => x.meta)
})
export default router