Communication between components Vue

December 2nd, 2022

Parent->Child

  1. props

  2. provide, inject

Child->Parent

  1. with emitted events: child emits an event, the parent catches the event

Doesn't matter who to who, sibling, ...

  1. pinia store

  2. mitt() emitter

Related Posts