Merge branch 'master' of github.com:ramonwenger/skillbox
* 'master' of github.com:ramonwenger/skillbox: Add student entry component
This commit is contained in:
commit
c4526da8fd
|
|
@ -12,6 +12,7 @@
|
|||
import TextBlock from '@/components/TextBlock.vue';
|
||||
import Task from '@/components/Task.vue';
|
||||
import ImageBlock from '@/components/ImageBlock.vue';
|
||||
import StudentEntry from '@/components/StudentEntry.vue';
|
||||
|
||||
export default {
|
||||
props: ['contentBlock'],
|
||||
|
|
@ -19,7 +20,8 @@
|
|||
components: {
|
||||
'text_block': TextBlock,
|
||||
Task,
|
||||
'image_block': ImageBlock
|
||||
'image_block': ImageBlock,
|
||||
'student_entry': StudentEntry
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<p v-html="value.task_text"></p>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['value']
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in New Issue