Merge branch 'master' of github.com:ramonwenger/skillbox

* 'master' of github.com:ramonwenger/skillbox:
  Add student entry component
This commit is contained in:
Pawel Kowalski 2018-08-16 13:10:31 +02:00
commit c4526da8fd
2 changed files with 12 additions and 1 deletions

View File

@ -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>

View File

@ -0,0 +1,9 @@
<template>
<p v-html="value.task_text"></p>
</template>
<script>
export default {
props: ['value']
}
</script>