You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lightdm-webkit-theme-osmos/src/router/index.ts

13 lines
339 B
TypeScript

import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{ path: '/', name: 'Home', component: Home },
{ path: '/:pathMatch(.*)*', name: 'Undefined', component: Home }
]
})
export default router