Renamed CoursePage to ContentPage

This commit is contained in:
scmmishra 2018-11-22 12:22:20 +05:30 committed by Aditya Hase
parent d93cec374d
commit be7fadc521
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ import ContentNavigation from "../components/ContentNavigation.vue"
export default {
props:['program_name', 'course', 'type', 'content'],
name: "CoursePage",
name: "ContentPage",
data() {
return{
nextContent: '',

View File

@ -1,12 +1,12 @@
import Home from "./pages/Home.vue";
import ProgramPage from "./pages/ProgramPage.vue";
import CoursePage from "./pages/CoursePage.vue";
import ContentPage from "./pages/ContentPage.vue";
import ListPage from "./pages/ListPage.vue";
const routes = [
{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},
{name: 'content', path: '/Program/:program_name/:course/:type/:content', component: ContentPage, props: true},
{name: 'list', path: '/List/:master', component: ListPage, props: true},
{
name: 'signup',