September 2021
Beginner to intermediate
164 pages
2h 7m
English
If you’ve built server-side web apps before, you’ll be familiar with putting some thought into the URL structure of your application.
Using a client-side router will give your SPAs the advantages of a server-side web app—namely, the ability to use the browser’s back and forward buttons to move through your app’s screens, and the ability for the user to bookmark specific screens and/or states of your app.
Vue has the advantage of having a library that’s not only extremely capable and well documented, but which is also the official routing solution for Vue, and is guaranteed to be maintained and kept in sync with the development of the core library.
The router can be easily added to your app via npm (