2018-11-13 17:03:18 +05:30
|
|
|
import Home from "./pages/Home.vue";
|
|
|
|
import ProgramPage from "./pages/ProgramPage.vue";
|
|
|
|
import CoursePage from "./pages/CoursePage.vue";
|
2018-11-09 11:47:09 +05:30
|
|
|
|
|
|
|
const routes = [
|
2018-11-13 17:03:18 +05:30
|
|
|
{name: 'home', path: '', component: Home},
|
|
|
|
{name: 'program', path: '/Program/:program_name', component: ProgramPage, props: true},
|
|
|
|
{name: 'content', path: '/Program/:program_name/:course/:type/:content', component: CoursePage, props: true},
|
2018-11-09 11:47:09 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
export default routes;
|