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