feat: refactored front end

This commit is contained in:
Pierre Tellier
2025-02-04 15:18:59 +01:00
parent 8674625bb4
commit 3619e6684e
33 changed files with 4067 additions and 13 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