Pierre Tellier 645a10477d
All checks were successful
CI / build (push) Successful in 4s
feat: now respect codestyle
2025-02-09 15:59:30 +01:00

18 lines
524 B
TypeScript

import { createRouter, createWebHistory } from "vue-router";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
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/testComponent.vue"),
},
],
});
export default router;