O'Reilly logo

Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch by Brett Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Brett Nelson 2018
Brett NelsonGetting to Know Vue.jshttps://doi.org/10.1007/978-1-4842-3781-6_12

12. Using Routers

Brett Nelson1 
(1)
Eagan, Minnesota, USA
 

Being able to quickly change the look and layout of a page without doing a full-page refresh is awesome, but users like to have links that take them directly to content as well. After all, what good is a nice web app if you can’t share a link to the content? This chapter looks at a few different ways to implement routing with Vue.

DIY Router

First up in our list of router options is the famous do-it-yourself (DIY) router. With the DIY router, you don’t get any features to start with since you are creating it yourself. What you do get is possibly the lightest router option. If you don’t need anything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required