vue-router

Download vue.js eBook

Introduction

vue-router is the officially supported routing library for vue.js.

Syntax

  • <router-link to="/path">Link Text</router-link> <!-- Creates a link to the route that matches the path -->

  • <router-view></router-view> <!-- Outlet for the currently matched route. It's component will be rendered here. -->

Related Examples

Stats

16 Contributors: 1
Friday, April 7, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook