I'm using vue 3 teleport to render elements in a div and it works as expected.
Teleport will add items to the selected element, but won't replace current elements in div.
How can I set teleport to replace the elements in div similar to how a vue app replaces anchor div content when mounted?
Context: I need placeholder elements for SEO reasons until app renders and teleports.
<!-- HTML outside the app -->
<div>
<div id="teleport-here">Teleport placeholder... I want this to be replaced by the teleport component</div>
<div id="app">This placeholder will be replaced with app when app mounts...</div>
</div>
<!-- teleport component -->
<teleport to="#telport-here">
<div>Teleport content...</div>
</teleport>