Files
auto-solution/modeler/src/router/config.ts

37 lines
829 B
TypeScript
Raw Normal View History

/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2025 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
2026-02-08 15:59:14 +08:00
import { type RouteRecordRaw, type RouteRecordRedirect } from 'vue-router';
export const routes: RouteRecordRaw[] = [
2026-02-08 15:59:14 +08:00
{
name: 'index',
path: '/',
redirect: '/app/decision/designer',
meta: {
hidden: true,
},
} as RouteRecordRedirect,
2026-02-08 18:43:42 +08:00
{
name: 'signin',
path: '/signin',
meta: {
title: '登录',
},
component: () => import('@/views/signin.vue'),
},
2026-02-08 15:59:14 +08:00
{
name: 'decision-designer',
path: '/app/decision/designer',
meta: {
title: '决策树',
},
component: () => import('@/views/decision/designer.vue'),
},
]