Coding task · Vue.js course · Module 6: Components

Practice: Composable with lifecycle

Combine composables with lifecycle hooks like Mars base systems.

Task

Use the composable useMarsData with onMounted to initialize data in the Dashboard component.