Files
4Gewinnt/GUI/src/utils/index.ts
T
jonas 13fdf97f5a - Rename and restructure components and assets for uniformity.
- Refactor `Field.vue` for better state management and event handling.
- Update path references for SVG assets.
- Add selection highlighting in game field with red and white arrows.
- Simplify and organize styles in game components.
- Minor updates to local mode game logic (`LocalMode.vue`).
2026-03-12 23:20:05 +01:00

24 lines
553 B
TypeScript

import Home from '@/Home.vue'
import NotFound from '@/NotFound.vue'
import LocalMode from '@/routes/LocalMode.vue'
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'Startseite',
component: Home,
},
{
path: "/localMode",
name: "LocalMode",
component: LocalMode
},
{ path: '/:pathMatch(.*)*', name: 'Nicht gefunden', component: NotFound },
],
})
export default router