Vue.js vue-router

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

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



Got any Vue.js Question?