Put the content into CdsPage — it calculates the minimum height of the page.
CdsMainworks only inside CdsLayout: outside the layout it renders nothing and warns about it in the console.
Scenarios
The main area of the application
CdsMain renders as a main tag — one semantic content area per page. The paddings are recalculated on the fly: minify a drawer, hide the header — and the content immediately takes the freed space.
API
Slots
| Name | Type | Description |
|---|---|---|
default | any | Main content of the application (CdsPage). |