chore(cli): auto wrap demo-section

This commit is contained in:
chenjiahan
2020-10-22 16:28:34 +08:00
parent fd915d1cff
commit 862c3ec1a4
2 changed files with 8 additions and 21 deletions

View File

@@ -1,12 +1,12 @@
<template>
<div>
<demo-nav />
<router-view v-slot="{ Component }">
<keep-alive>
<demo-nav />
<router-view v-slot="{ Component }">
<keep-alive>
<demo-section>
<component :is="Component" />
</keep-alive>
</router-view>
</div>
</demo-section>
</keep-alive>
</router-view>
</template>
<script>