Are v-row and v-col mandatory inside v-container? #14410
Answered
by
KaelWD
HendrikJan
asked this question in
Q&A
-
I want to place all my elements on a page below each other, with a bit of spacing between. I can do that inside a v-container like this: <v-container>
<h2>This is my webpage</h2>
<v-simple-table>...</v-simple-table>
<v-btn>Save</v-btn>
</v-container> Which looks clean to me. Or I can do it like this: <v-container>
<v-row>
<v-col>
<h2>This is my webpage</h2>
</v-col>
</v-row>
<v-row>
<v-col>
<v-simple-table>...</v-simple-table>
</v-col>
</v-row>
<v-row>
<v-col>
<v-btn>Save</v-btn>
</v-col>
</v-row>
</v-container> Which is much more cumbersome and doesn't look as nice. So I am wondering, what do I gain by using |
Beta Was this translation helpful? Give feedback.
Answered by
KaelWD
Nov 17, 2021
Replies: 1 comment 1 reply
-
Nope. row/col without any sizing props mostly just add gutters, if you don't want gutters you don't need them. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HendrikJan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope. row/col without any sizing props mostly just add gutters, if you don't want gutters you don't need them.