mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-04-25 19:28:09 +00:00
31 lines
682 B
JavaScript
Executable File
31 lines
682 B
JavaScript
Executable File
import { createRouter, createWebHistory } from 'vue-router'
|
|
|
|
const routes = [
|
|
{
|
|
path: '/',
|
|
component: () => import('../pages/HomeView.vue')
|
|
},
|
|
{
|
|
path: '/tutorial',
|
|
component: () => import('../pages/TutorialView.vue')
|
|
},
|
|
{
|
|
path: '/launch',
|
|
component: () => import('../pages/LaunchView.vue')
|
|
},
|
|
{
|
|
path: '/batch-run',
|
|
component: () => import('../pages/BatchRunView.vue')
|
|
},
|
|
{
|
|
path: '/workflows/:name?',
|
|
component: () => import('../pages/WorkflowWorkbench.vue')
|
|
}
|
|
]
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(),
|
|
routes
|
|
})
|
|
|
|
export default router |