//import Login from '@/view/login' //import ServerSideLogin from '@/view/serverside/login' // import HTTP404 from '@/view/404' import Index from '@/view/resource/index' import Synch from '@/view/resource/resourceindex/synchronization.vue' import Library from '@/view/resource/resourceindex/library.vue' import Details from '@/view/resource/resourceindex/details.vue' import Videodetails from '@/view/resource/resourceindex/videodetails.vue' import Activity from '@/view/resource/activity' import ActivityGuide from '@/view/resource/activity_guide.vue' import ActivityShow from '@/view/resource/activity_show.vue' import HomePage from '@/view/resource/HomePage' import Teacher from '@/view/resource/Teacher' import TeacherZone from '@/view/resource/TeacherZone' import { resolve } from 'url'; export const routes = [ { name: 'index', path: '', component: Index }, { name: 'synch', path: '/synch', component: Synch }, { name: 'library', path: '/library', component: Library }, { name: 'details', path: '/details', component: Details }, { name: 'videodetails', path: '/videodetails', component: Videodetails }, { name: 'activity', path: '/activity', component: Activity }, { name: 'ActivityGuide', path: '/activityguide', component: ActivityGuide }, { name: 'ActivityShow', path: '/activityshow', component: ActivityShow }, { name: 'HomePage', path: '/HomePage', component: HomePage }, { name: 'Teacher', path: '/Teacher', component: Teacher }, { name: 'TeacherZone', path: '/TeacherZone', component: TeacherZone }, ]