mirror of https://github.com/rancher/dashboard.git
21 lines
382 B
Markdown
21 lines
382 B
Markdown
# Routes
|
|
|
|
## Location
|
|
|
|
The core dashboard routes are defined in `shell/config/router.js`.
|
|
|
|
## Pattern
|
|
Add an entry to the list of routes
|
|
```js
|
|
{
|
|
...
|
|
routes: [
|
|
{
|
|
path: "/about",
|
|
component: () => interopDefault(import('../pages/account/index.vue' /* webpackChunkName: "pages/account/index" */)),
|
|
name: "about"
|
|
}
|
|
]
|
|
...
|
|
}
|
|
``` |