Example expose Option

The 'expose' option is not used, so all child properties are available to the parent by default, both the 'message' data property, and the 'createAlert()' method:

ChildComp.vue

Message from parent component: