Files
vtj/apps/plugin/dev/router/index.ts
2024-04-22 11:11:29 +08:00

15 lines
299 B
TypeScript

import { createRouter, createWebHashHistory } from 'vue-router';
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
component: () => import('../views/not-found.vue')
}
]
});
export default router;