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:
parent
7969d103b8
commit
387a1c5b59
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user