import { createRouter, createWebHistory } from 'vue-router' const routes = [ { path: '/', name: 'home', component: () => import('@/views/Index.vue') }, { path: '/profile', name: 'profile', component: () => import('@/views/Profile.vue') }, { path: '/technologies', name: 'technologies', component: () => import('@/views/Technologies.vue') }, { path: '/projects', name: 'projects', component: () => import('@/views/Projects.vue') }, { path: '/networks', name: 'networks', component: () => import('@/views/Networks.vue') }, { path: '/contact', name: 'contact', component: () => import('@/views/Contact.vue') }, { path: '/:pathMatch(.*)', name: '404', component: () => import('@/views/404.vue') }, ] const router = createRouter({ history: createWebHistory(), routes }) export default router