fix: changed configs

This commit is contained in:
Pierre Tellier
2025-02-08 12:08:02 +01:00
parent dbf06d8c64
commit 3de90295bd
19 changed files with 218 additions and 368 deletions

View File

@ -0,0 +1,25 @@
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue'),
},
{
path: '/test',
name: 'test',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Home.vue'),
},
],
})
export default router