scrimba
The Vue Bootcamp
Events
Component to Component Events (Event Bus)
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Component to Component Events (Event Bus)
AboutCommentsNotes
Component to Component Events (Event Bus)
Expand for more info
components
ComponentA.vue
run
preview
console
<template>
<button class="p-4 border bg-gray-100 rounded-lg mb-12">Say Hello to Component B!</button>
</template>

<script>
module.exports = {}
</script>
Console
"Download the Vue Devtools extension for a better development experience: https://github.com/vuejs/vue-devtools"
,
"You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html"
,
/index.html#
-7:26