render demo client-only
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<client-only>
|
||||||
<demo-frame v-if="inline && mainFile" v-bind="props" />
|
<demo-frame v-if="inline && mainFile" v-bind="props" />
|
||||||
<div class="demo" v-else>
|
<div class="demo" v-else>
|
||||||
<template v-if="mainFile">
|
<template v-if="mainFile">
|
||||||
@@ -33,6 +34,7 @@
|
|||||||
Could not find a demo called “{{ name }}”.
|
Could not find a demo called “{{ name }}”.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</client-only>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user