vuetify-module
vuetify-module copied to clipboard
v-data-table always rendering mobile view on SSR
Module version 1.12.1
Describe the bug
Pages that contain a v-data-table are rendered on the server with the mobile layout (class v-data-table--mobile
).
There's no way to change that behavior
To Reproduce https://codesandbox.io/s/nuxtjs-vuetify-forked-7nq12?file=/pages/index.vue
Steps to reproduce the behavior:
- Create a page with
v-data-table
using nuxt SSR - By default, on the generated source code the output is on the mobile layout (the UI flashes to go from mobile to desktop)
Expected behavior We should be able to specify if we want a mobile or desktop layout by default.
Screenshots