Course lesson
Create a Data-Driven Vue 3 Component with Apollo
Time to use the Apollo client and Vue Apollo Composable to make a query and use the resulting data in our Vue component.
- Duration
- 4 min
- Access
- Included
- Transcript
- Retained from source evidence
Time to use the Apollo client and Vue Apollo Composable to make a query and use the resulting data in our Vue component.
To make this happen we'll be using the useQuery and useResult composables to make the query and use its result. Then we'll take that data and loop over it using v-for.