In this page you will find how to add new routes and how we handled existing routes.
src/router/index.js
. This folder contains all routes of our template.src/router/index.js
file, just ignore router.beforeEach for now we will explore it in ACL section. Still if there’s something which is new to you, make sure you read vue-router
.
navActiveLink
: Navigation link to active in navigation menu. Useful if you have dynamic param and want to only set single item for it in navigation menu. e.g. Email App.resource
: CASL’s subject value for route protection. You can read more about it in Access Control page.action
: CASL’s action value for route protection. You can read more about it in Access Control page.