// src/router.js import { createRouter, createWebHistory } from 'vue-router'; import HomePage from './components/HomePage.vue'; import ProjectDescription from './components/ProjectDescription.vue'; const routes = [ { path: '/', name: 'HomePage', component: HomePage, }, { path: '/description', name: 'ProjectDescription', component: ProjectDescription, }, ]; const router = createRouter({ history: createWebHistory(), routes, }); export default router;