Put in order · Vue.js course · Module 7: Props & Events

Props data flow in hierarchy

Arrange the Props data flow from parent component to display:

Items to put in order

  • Parent passes data through attributes (:propName)
  • Child uses received data in template
  • Child declares props in defineProps()
  • Parent defines data in script setup

You can check the correct answer by solving this task in the CodeWorlds game.