Teleport
Teleport your nodes to another dom element using Vue 3 Teleport
.
App.vue
xxxxxxxxxx
10
<script setup>
import { ref } from 'vue'
const msg = ref('Hello World!')
</script>
<template>
<h1>{{ msg }}</h1>
<input v-model="msg">
</template>