import { createRouter, createWebHistory } from 'vue-router' const routes = [ { path: '/', redirect: '/agent/innovator-001' }, { path: '/agent/:agentId/:convId?', name: 'AgentChat', component: () => import('@/views/AgentChat.vue'), props: true, }, ] const router = createRouter({ history: createWebHistory(), routes, }) export default router