Vue.Draggable
Vue.Draggable copied to clipboard
tag prop in nuxt / vuetify web app isn't correctly rendered
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.