brotherton-erpnext/erpnext/public/js/education/lms/routes.js

11 lines
488 B
JavaScript
Raw Normal View History

2018-11-09 12:55:19 +00:00
import AcademyHome from "./pages/AcademyHome.vue";
import AcademyProgramPage from "./pages/AcademyProgramPage.vue";
import AcademyCoursePage from "./pages/AcademyCoursePage.vue";
2018-11-09 06:17:09 +00:00
const routes = [
{name: 'home', path: '', component: AcademyHome},
{name: 'program', path: '/Program/:program_name', component: AcademyProgramPage, props: true},
2018-11-12 07:20:54 +00:00
{name: 'content', path: '/Program/:program_name/:course/:type/:content', component: AcademyCoursePage, props: true},
2018-11-09 06:17:09 +00:00
];
export default routes;