vuetify-module icon indicating copy to clipboard operation
vuetify-module copied to clipboard

v-data-table always rendering mobile view on SSR

Open melalj opened this issue 3 years ago • 0 comments

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:

  1. Create a page with v-data-table using nuxt SSR
  2. 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 CleanShot 2021-11-03 at 12 32 43

melalj avatar Nov 03 '21 11:11 melalj