Summary
After learning how to handle events and act when an external event (e.g., a click) occurs, we saw in this chapter how components created with Vue.js can be assembled to form complete applications. We learned the following:
- To communicate from a component to its parent, we use events.
- To communicate from a component to its child, we use the attributes in the component’s
props
section.
Finally, to produce visual effects, all you have to do is write the CSS classes managed by Vue.js.
In the next chapter, we will see an example of an application that allows us to put into practice the elements studied in the previous chapters.