1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 12:15:06 +03:00

refactor of categoryItem markup

This commit is contained in:
zeot 2018-12-14 20:23:34 +04:00
parent 7969d103b8
commit 387a1c5b59

View File

@ -35,7 +35,7 @@
</div>
<div class="category-item-section">
<p class="category-item-section-title">Ecosystem</p>
<div v-html="ecosystem"></div>
<div v-html="ecosystem" />
</div>
<div class="category-item-section notes-box">
<p class="category-item-section-title">Notes</p>
@ -60,7 +60,7 @@
:href="`#${value.slug}`"
@click="expandNotes"
>
<p>{{value.content.html}}</p>
<p>{{value.constent.html}}</p>
</a>
</li>
</ul>
@ -73,6 +73,7 @@
v-html="notes"
/>
</transition>
<!-- <markdown-editor /> -->
</div>
</div>
</div>
@ -80,12 +81,14 @@
<script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator'
import CategoryItemToolbar from 'client/components/CategoryItemToolbar.vue'
import { ICategoryItem } from 'client/service/CategoryItem.ts'
// import MarkdownEditor from 'vue-simplemde/src/markdown-editor.vue'
import CategoryItemToolbar from 'client/components/CategoryItemToolbar.vue'
@Component({
components: {
CategoryItemToolbar
CategoryItemToolbar/* ,
MarkdownEditor */
}
})
export default class CategoryItem extends Vue {