Open
Description
Vue version
3.3.8
Link to minimal reproduction
Steps to reproduce
Create a Component with a comment in template root
<template>
<!-- comment -->
<div>
Title
</div>
</template>
Use the component.
<script setup>
import { ref } from 'vue'
import Comp from './Comp.vue';
const msg = ref('Hello World!')
</script>
<template>
<h1>{{ msg }}</h1>
<input v-model="msg">
<Comp style="color: blue;" />
</template>
What is expected?
What is actually happening?
System Info
No response
Any additional comments?
No response