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"> <div id="wrapper">
<SideBar /> <SideBar />
<div id="page"> <div id="page">
<RouterView /> <div id="content" class="pt-1">
<RouterView />
</div>
</div> </div>
<TableOfContent /> <TableOfContent />
</div> </div>

View file

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

View file

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