1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-27 10:10:50 +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>
<div class="category-item-section"> <div class="category-item-section">
<p class="category-item-section-title">Ecosystem</p> <p class="category-item-section-title">Ecosystem</p>
<div v-html="ecosystem"></div> <div v-html="ecosystem" />
</div> </div>
<div class="category-item-section notes-box"> <div class="category-item-section notes-box">
<p class="category-item-section-title">Notes</p> <p class="category-item-section-title">Notes</p>
@ -60,7 +60,7 @@
:href="`#${value.slug}`" :href="`#${value.slug}`"
@click="expandNotes" @click="expandNotes"
> >
<p>{{value.content.html}}</p> <p>{{value.constent.html}}</p>
</a> </a>
</li> </li>
</ul> </ul>
@ -73,6 +73,7 @@
v-html="notes" v-html="notes"
/> />
</transition> </transition>
<!-- <markdown-editor /> -->
</div> </div>
</div> </div>
</div> </div>
@ -80,12 +81,14 @@
<script lang="ts"> <script lang="ts">
import { Vue, Component, Prop } from 'vue-property-decorator' import { Vue, Component, Prop } from 'vue-property-decorator'
import CategoryItemToolbar from 'client/components/CategoryItemToolbar.vue'
import { ICategoryItem } from 'client/service/CategoryItem.ts' import { ICategoryItem } from 'client/service/CategoryItem.ts'
// import MarkdownEditor from 'vue-simplemde/src/markdown-editor.vue'
import CategoryItemToolbar from 'client/components/CategoryItemToolbar.vue'
@Component({ @Component({
components: { components: {
CategoryItemToolbar CategoryItemToolbar/* ,
MarkdownEditor */
} }
}) })
export default class CategoryItem extends Vue { export default class CategoryItem extends Vue {