Refactor component name
This commit is contained in:
parent
b23fc8c055
commit
e4c95ddfa9
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<add-content-button></add-content-button>
|
<add-content-block-button></add-content-block-button>
|
||||||
|
|
||||||
<div class="content-block" :class="specialClass">
|
<div class="content-block" :class="specialClass">
|
||||||
<h4>{{contentBlock.title}}</h4>
|
<h4>{{contentBlock.title}}</h4>
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
import Task from '@/components/content-blocks/Task.vue';
|
import Task from '@/components/content-blocks/Task.vue';
|
||||||
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
|
import ImageBlock from '@/components/content-blocks/ImageBlock.vue';
|
||||||
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
|
import StudentEntry from '@/components/content-blocks/StudentEntry.vue';
|
||||||
import AddContentButton from '@/components/AddContentButton';
|
import AddContentBlockButton from '@/components/AddContentBlockButton';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['contentBlock'],
|
props: ['contentBlock'],
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
'student_entry': StudentEntry,
|
'student_entry': StudentEntry,
|
||||||
'image_block': ImageBlock,
|
'image_block': ImageBlock,
|
||||||
Task,
|
Task,
|
||||||
AddContentButton
|
AddContentBlockButton
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue