2018-11-09 18:25:19 +05:30
|
|
|
import AcademyHome from "./pages/AcademyHome.vue";
|
|
|
|
import AcademyProgramPage from "./pages/AcademyProgramPage.vue";
|
|
|
|
import AcademyCoursePage from "./pages/AcademyCoursePage.vue";
|
2018-11-09 11:47:09 +05:30
|
|
|
|
|
|
|
const routes = [
|
|
|
|
{name: 'home', path: '', component: AcademyHome},
|
|
|
|
{name: 'program', path: '/Program/:program_name', component: AcademyProgramPage, props: true},
|
2018-11-12 12:50:54 +05:30
|
|
|
{name: 'content', path: '/Program/:program_name/:course/:type/:content', component: AcademyCoursePage, props: true},
|
2018-11-09 11:47:09 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
export default routes;
|