# UI Routing NocoBase Client's Router is based on [React Router](https://v5.reactrouter.com/web/guides/quick-start) and can be configured via `app.router` to configure ui routes with the following example. ```tsx /** * defaultShowCode: true */ import React from 'react'; import { Link, Outlet } from 'react-router-dom'; import { Application } from '@nocobase/client'; const Home = () =>

Home

; const About = () =>

About

; const Layout = () => { return
Home, About
} const app = new Application({ router: { type: 'memory', initialEntries: ['/'] } }) app.router.add('root', { element: }) app.router.add('root.home', { path: '/', element: }) app.router.add('root.about', { path: '/about', element: }) export default app.getRootComponent(); ``` In a full NocoBase application, the Route can be extended in a similar way as follows. ```tsx | pure import { Plugin } from '@nocobase/client'; class MyPlugin extends Plugin { async load() { // add this.app.router.add('hello', { path: '/hello', element:
hello
, }) // remove this.app.router.remove('hello'); } } ``` See [packages/samples/custom-page](https://github.com/nocobase/nocobase/tree/develop/packages/samples/custom-page) for the full example