init vue and asp.net

This commit is contained in:
jhim
2026-02-06 09:20:38 +01:00
committed by Jonas
parent d886fa24a6
commit 74f9f11b6d
18 changed files with 3572 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import Home from '@/Home.vue'
import NotFound from '@/NotFound.vue'
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'Startseite',
component: Home,
},
{ path: '/:pathMatch(.*)*', name: 'Nicht gefunden', component: NotFound },
],
})
export default router