-
Notifications
You must be signed in to change notification settings - Fork 0
Pages
Damian Dominella edited this page Mar 8, 2018
·
4 revisions
In your setup.json, you have to define all the pages of your backend.
At the moment, the following types are supported:
Name | Type | Required | Description |
---|---|---|---|
path | string | yes | The path that the component must match (example: users => www.backend.com/panel/users) |
type | string | yes | Defines which type of component the page must load. If you select a group, then you can define other components inside it (group, dashboard, table, form, profile) |
params | Object | yes | List of parameters that defines the page behaviour |
children | Array | no | Only for type group, array of pages with the same structure of basic page |
The params object is the main property for each page, and it has the following structure
Name | Type | Required | Description |
---|---|---|---|
menu | Object | yes | Menu options of the page (title, sidebar position, etc...) |
tables | Array | no | Please see tables |
forms | Array | no | Please see forms |
Name | Type | Required | Description |
---|---|---|---|
sideTitle | string | no | Title of the page visible in sidebar |
title | string | yes | Title of the page visible in header and breadcrumbs |
sidebar | boolean | no | If false, the page will not be accessible from the sidebar |
breadcrumbLevel | number | no | Determines breadcrumb level of the page |
order | number | no | Order of the page in the sidebar |
-
File examples