dashboard/docusaurus/docs/internal/code-base-works/routes.md

382 B

Routes

Location

The core dashboard routes are defined in shell/config/router.js.

Pattern

Add an entry to the list of routes

{
...
    routes: [
        {
            path: "/about",
            component: () => interopDefault(import('../pages/account/index.vue' /* webpackChunkName: "pages/account/index" */)),
            name: "about"
        }
    ]
...
}