hey,
i'm trying to use the plugin in a dotnet project with vuejs 2.3 and i get this warn message
Unknown custom element:
Is there a problem with Vuejs 2.3?
Please create a jsfidle.
@aymenpeak , any feedback on this?
I have this problem as well. Haven't had a chance to debug yet though.
@jaketodaro , @aymenpeak , did you miss the:
import draggable from 'vuedraggable'
...
export default {
components: {
draggable,
},
...
@jaketodaro , @aymenpeak , any feedback?
I'm not missing the import statement or the component declaration. I'm only able to repro this when typeof exports == 'Object', which makes it difficult to get you a jsfiddle. I'm able to work around this problem by declaring a global component.
import draggable from 'vuedraggable';
Vue.component('draggable', draggable);
@David-Desmaisons no i missed to import sorable.js before the draggable script .
Thanx for your help
@jaketodaro , please check draggable-example which use vue.draggable in a webpack project.
Any feedback @jaketodaro ?
I am closing this since @aymenpeak identify his prolem. @jaketodaro re-open or create a new one if needed.
Most helpful comment
I'm not missing the import statement or the component declaration. I'm only able to repro this when
typeof exports == 'Object', which makes it difficult to get you a jsfiddle. I'm able to work around this problem by declaring a global component.