Files
gpustack-ui/config/routes.ts
T
2024-05-27 19:29:03 +08:00

60 lines
981 B
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: './llm-models'
},
{
name: 'Nodes',
path: '/nodes',
key: 'nodes',
icon: 'CloudServer',
component: './nodes'
},
{
name: 'API Keys',
path: '/api-keys',
key: 'apikeys',
icon: 'LockOutlined',
component: './api-keys'
},
{
name: 'Users',
path: '/users',
key: 'users',
icon: 'Team',
component: './users'
},
{
name: '404',
path: '*',
key: '404',
layout: false,
component: './404'
}
];