You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
570 B

/**
* 自动生成路由
*/
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
path: '/{{entity}}',
name: '{{comment}}模块',
meta: {
icon: 'ic:baseline-view-in-ar',
order: 1000,
keepAlive: true,
title: '{{entityComment}}',
},
children: [
{
meta: {
title: "{{comment}}列表",
},
name: '{{entity}}List',
path: '/{{entity}}',
component: () => import('#/views/{{entity}}/index.vue'),
},
],
}
];
export default routes;