14 lines
250 B
TypeScript
Raw Normal View History

2025-10-21 01:14:13 +07:00
import { createRouter, createWebHistory } from 'vue-router'
import { routes } from './route'
const router = createRouter({
history: createWebHistory(),
routes,
})
router.beforeEach((to, from, next) => {
next()
})
export default router