pilotwings/frontend/router/index.ts

16 lines
317 B
TypeScript
Raw Normal View History

2024-11-02 18:16:32 +00:00
import { createRouter, createWebHistory } from 'vue-router'
import Containers from '../views/Containers.vue'
2024-11-02 18:16:32 +00:00
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
2024-11-02 21:43:27 +00:00
component: Containers,
2024-11-02 18:16:32 +00:00
},
2024-11-02 21:43:27 +00:00
],
2024-11-02 18:16:32 +00:00
})
export default router