我想知道为什么当屏幕尺寸小于600像素时vuetify断点无法正常工作
new Vue({
el: '#app',
vuetify: new Vuetify(),
})
One of three columns
当屏幕尺寸为 XS
锅盘样品
It's a combination of two things
There is no XS prop available to v-col.
Columns automatically take up the entire available space within its parent container unless you've specified the width it should take up before hand.
Columns will automatically take up an equal amount of space within their parent container. This can be modified using the cols prop. You can also utilize the sm, md, lg, and xl props to further define how the column will be sized in different viewport sizes.
https://vuetifyjs.com/en/components/grids#auto-sizing-columns
To address this, set the "cols" prop of v-col to 12 to indicate that it should take up 12 columns across all viewports. You can consider it to be the "xs" property you're trying to use. Then, any larger viewports will inherit the last valid size.