fej/web/src/router.ts

22 lines
392 B
TypeScript
Raw Normal View History

2021-04-29 09:58:29 +02:00
import { createWebHistory, createRouter } from "vue-router";
import Home from './components/Home.vue';
import Ivago from './components/Ivago.vue';
const routes = [
{
path: "/",
component: Home,
},
{
path: "/ivago",
component: Ivago,
},
];
const router = createRouter({
history: createWebHistory(),
routes,
});
export default router;