[+] Add courseInfo property to course-detail page
This commit is contained in:
@@ -5,15 +5,17 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {Component, Vue} from 'vue-property-decorator'
|
||||
import {Component, Prop, Vue} from 'vue-property-decorator'
|
||||
import CourseInfo from '@/logic/course-info';
|
||||
|
||||
@Component
|
||||
export default class CourseDetail extends Vue
|
||||
{
|
||||
|
||||
@Prop({required: true}) courseInfo: CourseInfo;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style src="./pages.scss" lang="scss" scoped/>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user