[Vuejs]-Vuetify router alignment

0👍

What you really want is to put the menu outside of the router-view otherwise it has to reload on each page load. You also want to move the container definition inside of the v-content element and make sure it uses fill-height too less you end up with an odd background mesh.

<v-app>
   <my-menu></my-menu>
   <v-content>
       <v-container fluid fill-height>
           <router-view></router-view>
       </v-container>
   </v-content>
</v-app>

Now just change your Dashboard code and layout:

<v-layout row wrap>
    <v-flex xs12>
        //the rest of the dashboard code
    </v-flex> 
</v-layout

And you’re good to go.

Leave a comment