- 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`).
This commit is contained in:
2026-02-19 17:43:22 +01:00
committed by Jonas
parent 2337c6b2db
commit 13fdf97f5a
9 changed files with 118 additions and 67 deletions
+23
View File
@@ -0,0 +1,23 @@
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