© Adam Freeman 2018
Adam FreemanPro Vue.js 2https://doi.org/10.1007/978-1-4842-3805-9_16

16. Using Components

Adam Freeman1 
(1)
London, UK
 
In this chapter, I explain how components form the building blocks in a Vue.js application and allow related content and code to be grouped together to make development easier. I show you how to add components to a project, how to communicate between components, and how components can work together to present content to the user. Table 16-1 puts components in context.
Table 16-1

Putting Components in Context

Question

Answer

What are they?

Components can be composed to create complex functionality from smaller building blocks.

Why are they useful?

Building a complex application using a single component makes it hard to ...

Get Pro Vue.js 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.