Files
gpustack-ui/config/routes.ts
T
2024-05-15 19:36:17 +08:00

71 lines
1.2 KiB
TypeScript

export default [
{
path: '/',
key: 'dashboard',
layout: false,
icon: 'home',
redirect: '/dashboard',
},
{
name: 'Dashboard',
path: '/dashboard',
key: 'dashboard',
icon: 'home',
component: './dashboard',
},
{
name: 'Playground',
title: 'Playground',
path: '/playground',
key: 'playground',
icon: 'Comment',
component: './playground',
},
{
name: 'Models',
path: '/models',
key: 'models',
icon: 'Block',
component: './models',
},
{
name: 'Nodes',
path: '/nodes',
key: 'nodes',
icon: 'CloudServer',
component: './nodes',
},
{
name: 'Users',
path: '/users',
key: 'users',
icon: 'Team',
component: './users',
},
// {
// name: '首页',
// path: '/home',
// key: 'homes',
// component: './Home',
// },
// {
// name: '权限演示',
// path: '/access',
// key: 'access',
// component: './Access',
// },
// {
// name: ' CRUD 示例',
// path: '/table',
// key: 'table',
// component: './Table',
// },
{
name: '404',
path: '*',
key: '404',
layout: false,
component: './404',
},
];