Vue.js · Component
Teleport
Teleport renders part of a component's template in another DOM location. The component's logical relationships remain unchanged.
Last updated
- Since
- Vue 3.5 for the defer prop
Syntax
<Teleport to="target" :disabled="false" :defer="false">...</Teleport>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
TransitionHandling Teleports in SSRTeleport API reference