Routing
On this page you will find how to add new routes and how we handled existing routes.
Overview
You can find all routes in src/router/index.js file. In this file you can find all routes and their meta data.
You can follow our pattern or use your own pattern.
Route Meta
Each route has a meta object. In this object you can find title and breadcrumb properties.
titleis used for page title.groupParentis used for breadcrumb title.hideis used for hiding breadcrumb.
js
{
path: "/",
name: "Home",
component: Home,
meta: {
groupParent: "Home",
},
},
{
path: "/about",
name: "About",
component: About,
meta: {
hide: true,
},
}