Failed to resolve directive: dragable-for
See original GitHub issueI have been trying to make a dynamic form to add JS links in my project. Later i need it to be drag-and-drop functionality for precedence of js links. Hence, i make to know about this repo. and been try to implement but faced prob. of this:-
<div v-dragable-for="(n, index) in externallinksJS">
....
import Vue from 'vue';
import VueDraggable from 'vuedraggable'
Vue.use(VueDraggable);
...
data(){
return{
externallinksJS:[]
}}
Here externallinksJS is a array and on button click it adds
addNewexternallinkJS() {
let newVariable = { linktype: 'JS', linkposition: '', linkurl: ''};
this.externallinksJS.push(newVariable);
}
In your demo it seems to be working fine. https://jsfiddle.net/dede89/j62g58z7/
Help would be appreciated. Thank you.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Failed to resolve directive: dragable-for for vue1.0.9 · Issue #534
First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md Jsfiddle link Step by step scenario Actual Solution ...
Read more >[Vue warn]: Failed to resolve directive: bin - Stack Overflow
I've had this issue in the form of Failed to resolve directive: disabled which sounded cryptic, but was actually me thinking Vue is...
Read more >Failed to resolve directive problem using a html div from ...
Hi all, I have these video container divs which I sent to a JSL API for webRTC. The problem is call is established...
Read more >[Vue warn]: Failed to resolve directive: touch (found in
p>[Vue warn]: Failed to resolve directive: touch</p> <p>(found in ) warn @ vue.esm.js?efeb:628 resolveAsset @ vue.esm.js?efeb:1591 normalizeDirectives$1 ...
Read more >2003-August.txt - Kitware Inc.
If failed building > vtkTkWidgetsInit.o with a boatload of syntax errors: > > Building object ... Program counter=0xae8b86c Do you know how to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You’re welcome, @gkumar9 …
BTW… FYI … Vue 2.5.13 is out 😃 (yep, they are going faaaaaast )
Success with your projects ! Grtz, Johnny
@jdriesen thanks, man. I solved my prob. by properly using the draggable component as mentioned in the readme file. @David-Desmaisons thank you.