25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Routers<br />

If you are going with an SPA architecture <strong>and</strong> your app design includes multiple<br />

pages, you'll want to use a router. A router, in this context, is a library that will<br />

mimic browser navigation through JavaScript <strong>and</strong> various native APIs so that the<br />

user gets an experience similar to that of a traditional multi-page app. Routers<br />

will typically include functionality to:<br />

H<strong>and</strong>le navigation actions from within the page<br />

Match parts of the application to routes<br />

Manage the address bar<br />

Manage the browser history<br />

Manage scroll bar behavior

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!