Ion-modal vue 3

Not sure exactly how to close a modal with say a button called “Close”. The vue 2 way doesn’t work anymore: this.$ionic.modalController.dismiss();

Any idea what to do?

import modal controller into your modal component, then dismiss works as before.

see my modal here

Thank you for that! I was close, but this makes a lot more sense now looking at it!