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

22. URL Routing

Adam Freeman1 
(1)
London, UK
 
In this chapter, I start to describe the URL routing feature, which builds on the dynamic components that I described in Chapter 21 but uses the current URL to select the components that are displayed to the user. URL routing is a complex topic, and I continue to describe different aspects of this feature in Chapters 23 and 24. Table 22-1 puts URL routing in context.
Table 22-1

Putting URL Routing in Context

Question

Answer

What is it?

URL routing selects components to display to the user based on the current URL.

Why is it useful?

Using the URL to select components allows the user to navigate directly to a specific part of ...

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.