2026-01-13 23:47:54 +08:00

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