0
0
Fork 0

Add teleport to Modals.

This commit is contained in:
Oliver-Akins 2020-12-13 17:17:32 -07:00
parent f823e599b4
commit 42d0fe483e

View file

@ -1,4 +1,5 @@
<template> <template>
<teleport to="body">
<transition name="fade" @after-enter="content = true"> <transition name="fade" @after-enter="content = true">
<div <div
v-if="show" v-if="show"
@ -13,6 +14,7 @@
</transition> </transition>
</div> </div>
</transition> </transition>
</teleport>
</template> </template>
<script> <script>