Use props to pass data from parent to child, and events (using $emit) to pass data from child to parent.
$emit