index.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import { createRouter, createWebHistory } from 'vue-router'
  2. const routes = [
  3. {
  4. path: '/',
  5. name: 'home',
  6. component: () => import('@/views/HomeView.vue')
  7. },
  8. {
  9. path: '/prospect',
  10. name: 'prospect',
  11. component: () => import('@/views/ProspectView.vue')
  12. },
  13. {
  14. path: '/marketing',
  15. name: 'marketing',
  16. component: () => import('@/views/MarketingView.vue')
  17. },
  18. {
  19. path: '/customers',
  20. name: 'customers',
  21. component: () => import('@/views/CustomersView.vue')
  22. },
  23. {
  24. path: '/opportunities',
  25. name: 'opportunities',
  26. component: () => import('@/views/OpportunitiesView.vue')
  27. },
  28. {
  29. path: '/orders',
  30. name: 'orders',
  31. component: () => import('@/views/OrdersView.vue')
  32. },
  33. {
  34. path: '/analysis',
  35. name: 'analysis',
  36. component: () => import('@/views/AnalysisView.vue')
  37. },
  38. {
  39. path: '/market',
  40. name: 'market',
  41. component: () => import('@/views/MarketView.vue')
  42. },
  43. {
  44. path: '/strategy',
  45. name: 'strategy',
  46. component: () => import('@/views/StrategyView.vue')
  47. },
  48. {
  49. path: '/risk',
  50. name: 'risk',
  51. component: () => import('@/views/RiskView.vue')
  52. },
  53. {
  54. path: '/knowledge',
  55. name: 'knowledge',
  56. component: () => import('@/views/KnowledgeView.vue')
  57. },
  58. {
  59. path: '/settings',
  60. name: 'settings',
  61. component: () => import('@/views/SettingsView.vue')
  62. }
  63. ]
  64. const router = createRouter({
  65. history: createWebHistory(import.meta.env.BASE_URL),
  66. routes
  67. })
  68. export default router