Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 2.2 KB

File metadata and controls

19 lines (13 loc) · 2.2 KB

Dependency Injection easy #Composition API

By webfansplz @webfansplz

Take the Challenge    简体中文

For this challenge, you'll use the Composition API: Dependency Injection to complete the challenge. Here's what you need to implement 👇:

// Child.vue 

<script setup lang="ts">
// Add a piece of code to make the `count` value get injected into the child component.
</script>

<template>
  {{ count }}
</template>

Back Share your Solutions Check out Solutions