question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to resolve directive: dragable-for

See original GitHub issue

I 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:- vue-draggable

<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 dragable-js

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:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jdriesencommented, Dec 21, 2017

You’re welcome, @gkumar9

BTW… FYI … Vue 2.5.13 is out 😃 (yep, they are going faaaaaast )

Success with your projects ! Grtz, Johnny

0reactions
gkumar9commented, Dec 22, 2017

@jdriesen thanks, man. I solved my prob. by properly using the draggable component as mentioned in the readme file. @David-Desmaisons thank you.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found