feat: Initial commit with full deployment architecture and scripts
This commit is contained in:
commit
abb3efe114
96 files changed
+16789
No files matched your search
@@ -0,0 +1,37 @@
|
||||
|
||||
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import WorkspaceView from '../views/WorkspaceView.vue';
|
||||
import ChatView from '../views/ChatView.vue';
|
||||
import AdminView from '../views/AdminView.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/workspace'
|
||||
},
|
||||
{
|
||||
path: '/workspace',
|
||||
name: 'Workspace',
|
||||
component: WorkspaceView
|
||||
},
|
||||
{
|
||||
path: '/chat/:agentId',
|
||||
name: 'Chat',
|
||||
component: ChatView,
|
||||
props: true
|
||||
},
|
||||
{
|
||||
path: '/admin',
|
||||
name: 'Admin',
|
||||
component: AdminView
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in new issue
Block a user