Chapter 9. Understanding Vue Router
This chapter covers
- Understanding client-side routing
- Understanding Vue Router
- Adding Vue Router to a project
When a single-page web app grows large, you might decide to split the UI into different views. You can use Vue Router to add client-side routing to handle navigation between views without causing a page reload.
This chapter is an introduction to Vue Router for readers who aren’t familiar with the library. You’ll learn about server-side routing, client-side routing, and Vue Router. At the end of the chapter, you’ll add a bare-bones Vue Router setup to the Hacker News app.
Note
If you already have experience with Vue Router, you can skip ahead to chapter 10. You will need to check out the ...
Get Testing Vue.js Applications 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.