<template> <div class="Layout"> <main class="Layout__main"> <article class="Layout__content"> <router-view /> </article> </main> </div> </template> <script> export default { name: 'layout', } </script> <style lang="scss" scoped> .Layout { display: flex; width: 100vw; height: 100vh; overflow: hidden; background: #fff; } .Layout__main { display: flex; flex-direction: column; flex: 1; overflow: hidden; } .Layout__content { flex: 1; overflow: hidden; } </style>