improvement: meilleurs gestion MarkdownFile

This commit is contained in:
Kazhnuz 2023-02-08 11:49:06 +01:00
parent 2a6ba73928
commit ab15443607
3 changed files with 5 additions and 5 deletions

View file

@ -19,8 +19,10 @@ onMounted(() => {
<div id="wrapper">
<SideBar />
<div id="page">
<div id="content" class="pt-1">
<RouterView />
</div>
</div>
<TableOfContent />
</div>
</template>

View file

@ -122,7 +122,7 @@ onBeforeUpdate(() => {
</script>
<template>
<article id="content" class="pt-1">
<article>
<div v-html="htmlContent"></div>
<slot></slot>
</article>

View file

@ -14,7 +14,5 @@ onMounted(() => {
</script>
<template>
<MarkdownFile path="pages/home">
Test d'afficher quelque chose en dessous du Markdown
</MarkdownFile>
<MarkdownFile path="pages/home"></MarkdownFile>
</template>