Add ModalText to get rid of console errors

This commit is contained in:
Pawel Kowalski 2018-08-18 00:14:17 +02:00
parent bd136d79b3
commit de14c02f0a
2 changed files with 16 additions and 2 deletions

View File

@ -10,6 +10,7 @@
<script>
import TextBlock from '@/components/content-blocks/TextBlock.vue';
import ModalText from '@/components/content-blocks/ModalText.vue';
import Task from '@/components/content-blocks/Task.vue';
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
@ -19,9 +20,10 @@
components: {
'text_block': TextBlock,
Task,
'modal_text': ModalText,
'student_entry': StudentEntry,
'image_block': ImageBlock,
'student_entry': StudentEntry
Task
}
}
</script>

View File

@ -0,0 +1,12 @@
<template>
<div>
<div v-html="value.description"></div>
<a :href="value.url">{{value.url}}</a>
</div>
</template>
<script>
export default {
props: ['value']
}
</script>