In this chapter, I describe the more advanced URL routing features. I start by showing you how to structure a complex routing configuration using multiple files, how to use router guards to control navigation, and how to lazily load components when they are selected by a route. I finish this chapter by showing you how to work with components that have not been written to work with the Vue Router package. Table
24-1 summarizes the chapter.
Table 24-1Chapter Summary
Problem | Solution | Listing |
|---|
Group related routes | Define separate modules for each group of routes | 3–5 |
Inspect and intercept navigation | Use a route guard | 6, 9–11 ... |