vuetifyjs / webpack-ssr

Vuetify Webpack SSR Template
https://vuetifyjs.com/overview
62 stars 28 forks source link

v-img component error using webpack-ssr #39

Open kamgasimo opened 5 years ago

kamgasimo commented 5 years ago

when ever I use v-img I have this error in the console: [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside

, or missing . Bailing hydration and performing full client-side render.

cairin commented 5 years ago

You could try wrapping the component with <no-ssr/>, or moving all dom manipulations to the mounted lifecycle hook. - reference 1, reference 2

kamgasimo commented 5 years ago

when I wrap in no-ssr I have the error: no-ssr was not registered