Portage du site sous vuejs #232
3 changed files with 5 additions and 5 deletions
|
@ -19,8 +19,10 @@ onMounted(() => {
|
|||
<div id="wrapper">
|
||||
<SideBar />
|
||||
<div id="page">
|
||||
<div id="content" class="pt-1">
|
||||
<RouterView />
|
||||
</div>
|
||||
</div>
|
||||
<TableOfContent />
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -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