routes.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //import Login from '@/view/login'
  2. //import ServerSideLogin from '@/view/serverside/login'
  3. // import HTTP404 from '@/view/404'
  4. import Index from '@/view/resource/index'
  5. import Synch from '@/view/resource/resourceindex/synchronization.vue'
  6. import Library from '@/view/resource/resourceindex/library.vue'
  7. import Details from '@/view/resource/resourceindex/details.vue'
  8. import Videodetails from '@/view/resource/resourceindex/videodetails.vue'
  9. import Activity from '@/view/resource/activity'
  10. import ActivityGuide from '@/view/resource/activity_guide.vue'
  11. import ActivityShow from '@/view/resource/activity_show.vue'
  12. import ActivityRank from '@/view/resource/activity_rank.vue'
  13. import ActivityCertificate from '@/view/resource/activity_certificate.vue'
  14. import ActivityDetails from '@/view/resource/activity_details.vue'
  15. import HomePage from '@/view/resource/HomePage'
  16. import Teacher from '@/view/resource/Teacher'
  17. import TeacherZone from '@/view/resource/TeacherZone'
  18. import { resolve } from 'url';
  19. import ZonesHome from '../components/resource/ZonesHome.vue'
  20. export const routes = [
  21. { name: 'index', path: '/resource', component: Index },
  22. { name: 'synch', path: '/synch', component: Synch },
  23. { name: 'library', path: '/library', component: Library },
  24. { name: 'details', path: '/details', component: Details },
  25. { name: 'videodetails', path: '/videodetails', component: Videodetails },
  26. { name: 'activity', path: '/activity', component: Activity },
  27. { name: 'ActivityGuide', path: '/activityguide', component: ActivityGuide },
  28. { name: 'ActivityShow', path: '/activityshow', component: ActivityShow },
  29. { name: 'ActivityRank', path: '/activityrank', component: ActivityRank },
  30. { name: 'ActivityCertificate', path: '/activitycertificate', component: ActivityCertificate },
  31. { name: 'ActivityDetails', path: '/activitydetails', component: ActivityDetails },
  32. { name: 'HomePage', path: '/', component: HomePage },
  33. { name: 'Teacher', path: '/Teacher', component: Teacher },
  34. {
  35. name: 'TeacherZone', path: '/TeacherZone', component: TeacherZone,
  36. children: [
  37. { name: 'ZonesHome', path: 'ZonesHome', component: ZonesHome }
  38. ]
  39. },
  40. ]