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

21. Dynamic Components

Adam Freeman1 
(1)
London, UK
 

Simple applications can present all their content to the user at once, but more complex projects will need to be more selective and display different components to the user at different times. In this chapter, I explain the built-in Vue.js features that allow components to be displayed dynamically based on user interaction and to load components only when they are required, which can help reduce the amount of data users consume. Table 21-1 puts dynamic components in context.

Tip

The features described in this chapter are often used with URL routing, which I describe in Chapter 22.

Table 21-1

Putting Dynamic Components ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.