render demo client-only

This commit is contained in:
Philipp Kühn
2021-02-11 09:38:35 +01:00
parent d75027a121
commit 980e70e9c8

View File

@@ -1,4 +1,5 @@
<template>
<client-only>
<demo-frame v-if="inline && mainFile" v-bind="props" />
<div class="demo" v-else>
<template v-if="mainFile">
@@ -33,6 +34,7 @@
Could not find a demo called {{ name }}.
</div>
</div>
</client-only>
</template>
<script>