improvement: meilleurs gestion MarkdownFile
This commit is contained in:
parent
2a6ba73928
commit
ab15443607
3 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,9 @@ onMounted(() => {
|
|||
<div id="wrapper">
|
||||
<SideBar />
|
||||
<div id="page">
|
||||
<RouterView />
|
||||
<div id="content" class="pt-1">
|
||||
<RouterView />
|
||||
</div>
|
||||
</div>
|
||||
<TableOfContent />
|
||||
</div>
|
||||
|
|
|
@ -122,7 +122,7 @@ onBeforeUpdate(() => {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<article id="content" class="pt-1">
|
||||
<article>
|
||||
<div v-html="htmlContent"></div>
|
||||
<slot></slot>
|
||||
</article>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue