How to hide sidebar completely

  • Hi all,

    I want to hide my sidebar when screen size is greater than md (so display on xs and sm). It works fine for the menu but the aside is still there empty (cf. picture)

    Thanks for your help.


    <div class="lt-md" slot="left">

    Picture(I emphasized the issue with red borders):

  • I had the same issues few days ago, try:

    mounted () {

    It’ll directly hide the left slot when opening page. Would be nice if it’s directly closed instead, or maybe there is a thing in doc I didn’t see yet

  • Thank you ! It worked. Problem solved !

Log in to reply