| 12345678910111213 |
- import { createRouter, createWebHashHistory, Router } from 'vue-router';
- import routes from './routes-teacher';
- const router: Router = createRouter({
- history: createWebHashHistory(),
- routes
- });
- router.beforeEach((to, from, next) => {
- document.title = (to.meta.title || '酷乐秀') as any;
- next();
- });
- export default router;
|