12345678910111213141516171819202122232425262728293031323334353637383940414243_你好, {{ msg }}_<RedDiv>_当前计数为: {{ count }}_</RedDiv><button @click="count++">点我!</button><script>import { h, ref } from 'vue'const RedDiv = (_, ctx) => h( 'div', { class: 'red-div', }, ctx.slots.default())export default { components: { RedDiv, }, setup() { const msg = 'Markdown 中的 Vue' const count = ref(0) return { msg, count, } }}</script><style>.red-div { color: red;}</style>