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
