Vue.Draggable icon indicating copy to clipboard operation
Vue.Draggable copied to clipboard

tag prop in nuxt / vuetify web app isn't correctly rendered

Open Matthieu-Pesnot-Pin opened this issue 3 years ago • 0 comments

I'm using draggable in a nuxt / vuetify web app and I'm facing an issue with the tag prop - not sure if it's a nuxt issue or a draggable issue :

  • When I use it in dev environment, <draggable tag="v-row" class="someClass"> is transpiled into <div class="row someClass">, which works fine
  • After nuxt build and generate, <draggable tag="v-row" class="someClass"> is transpiled into <v-row class="someClass">, and so the layout is broken.

I fixed it with directly using the "row" class : <draggable class="row someClass">, wich works fine in both environement.

Matthieu-Pesnot-Pin avatar Nov 06 '21 16:11 Matthieu-Pesnot-Pin