The problem of vue website layout footer

recently write an introduction official with vue!

but there are only a few things in the page

some pages have many

footer components are fine when there is too much content on the page!
but when there is little content, they pile up in the middle of the screen. Is there any way to solve this problem except to add min-height to Main components?

<el-container>
  <el-header>Header</el-header>
  <el-main>Main</el-main>
  <el-footer>Footer</el-footer>
</el-container>

Hello, landlord! You can also use absolute positioning to do this. Example:

footer</div>
        </div>
    </body>
</html>
Menu