Render a vue component saved with variables in vue

problem description

render a dynamic vue component in the template of vue

related codes

<template>
 <div>
   {{x}}
 </div
</template>
<script>
import x from "./x.vue";

export default{
  data() {
    return { x }
  }
}
</script>

but this does not render the x component.
is there any way to directly render a component saved with variables like react?

Jul.15,2022

if you want to reference a component:

  

Why don't you just use slot when you are like this?

Menu