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