init
This commit is contained in:
12
config/routes.js
Normal file
12
config/routes.js
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
// 简化的路由配置
|
||||
const routes = [
|
||||
{ path: '/', component: './index' },
|
||||
{ path: '/login', component: './login' },
|
||||
{ path: '/docs', component: './docs' },
|
||||
// 404 页面
|
||||
{ path: '/*', component: './404' },
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user