QLayout must contain page content. If you haven’t already, please read QLayout documentation page first.
A QPage must be encapsulated by QPageContainer, which in turn must be a child of QLayout.
Usually, the QPageContainer is part of the Layout template (where it contains a
<router-view /> child only), and its content goes into separate vue files under
/src/pages. If you haven’t already, please read Integrating Layout with Router.
<!-- vue file for Layout: -->
||Boolean||Adds a default dynamic padding to the page.|
A QPage needs a QLayout, because QLayout controls all the offsets of a page, keeping account of the space that header/footer/drawer use, according to its
view property configuration. By default, your QPage component will have a
min-height CSS property set on it to ensure that the content fills the screen at all times, even when the content is just a few lines.
If you wish to tweak, or even remove this property, you can do so by using the