Skip to Main Content
Jump Start Vue.js
book

Jump Start Vue.js

by Nilson Jacques
February 2019
Beginner to intermediate content levelBeginner to intermediate
146 pages
1h 58m
English
SitePoint
Content preview from Jump Start Vue.js

Chapter 4: Routing

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.js 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.

Installing Vue Router

The router can be easily added to your app via npm ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Jump Start Vue.js, 2nd Edition

Jump Start Vue.js, 2nd Edition

Nilson Jacques
Pro Vue.js 2

Pro Vue.js 2

Adam Freeman
Beginning Vue.js

Beginning Vue.js

Gary Jennings, Andrea Passaglia

Publisher Resources

ISBN: 9781492071303Errata Page