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,7 +19,9 @@ onMounted(() => {
<div id="wrapper">
<SideBar />
<div id="page">
<RouterView />
<div id="content" class="pt-1">
<RouterView />
</div>
</div>
<TableOfContent />
</div>

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>