charts.js 831 B

123456789101112131415161718192021222324252627282930313233343536
  1. /** When your routing table is too long, you can split it into small modules**/
  2. import Layout from '@/layout'
  3. const chartsRouter = {
  4. path: '/charts',
  5. component: Layout,
  6. redirect: 'noRedirect',
  7. name: 'Charts',
  8. meta: {
  9. title: 'charts',
  10. icon: 'chart'
  11. },
  12. children: [
  13. {
  14. path: 'keyboard',
  15. component: () => import('@/views/charts/keyboard'),
  16. name: 'KeyboardChart',
  17. meta: { title: 'keyboardChart', noCache: true }
  18. },
  19. {
  20. path: 'line',
  21. component: () => import('@/views/charts/line'),
  22. name: 'LineChart',
  23. meta: { title: 'lineChart', noCache: true }
  24. },
  25. {
  26. path: 'mix-chart',
  27. component: () => import('@/views/charts/mix-chart'),
  28. name: 'MixChart',
  29. meta: { title: 'mixChart', noCache: true }
  30. }
  31. ]
  32. }
  33. export default chartsRouter