简体中文
Appearance
By webfansplz @webfansplz
在这个挑战中,你将使用 组合式 API: 依赖注入 来完成它。 以下是你要实现的内容 👇:
组合式 API: 依赖注入
// Child.vue <script setup lang="ts"> // 添加代码,使`count`值注入子组件 </script> <template> {{ count }} </template>