Creating Pages
Page Structure
All pages in the Dashboard follow this structure:
Following this structure ensures that:
- Your pages look consistent with the rest of the Dashboard
- Your page content is responsive
- Your page can be further extended using the pageBlocks API
Info
Note that the ListPage and DetailPage
components internally use this same structure, so when using those top-level components you don't need to wrap them
in Page etc.
Page Routes & Navigation
Once you have defined a page component, you'll need to make it accessible to users with:
- A route (url) by which it can be accessed
- Usually a navigation bar entry in the main side navigation of the Dashboard
Both of these are handled using the DashboardRouteDefinition API:
Info
For a complete guide to the navigation options available, see the Navigation guide
Was this chapter helpful?