Ean Jhon De Castro
Ean Jhon De Castro

Reputation: 139

How to fill the window height and width in vuetify

I am having a hard time as to how do i make a layout/container in vuetify fill the entire screen's height and width. Please give an example on how to do this. Cheers!

Upvotes: 2

Views: 8543

Answers (1)

Anees Hameed
Anees Hameed

Reputation: 6564

Use fluid to get the full width of viewport, and fill-height to get the full height of the viewport. fluid is a prop, fill-height is a class.

<v-container fluid class="primary fill-height">
  <v-row>
    <v-col>
    </v-col>
  </v-row>
</v-container>

Upvotes: 5

Related Questions