Picture of Kevin Jones
Component Development
by Kevin Jones - Sunday, 7 September 2014, 7:56 PM
 

I have two questions about developing components, the first 

What is wrong with my URL FORMAT when i try to register this component with adapt? - (URL is https://github.com/KevCJones/adapt-dragdrop)

I see Error: Invalid URL format :( i wanted to register and then develop it so i can install it easier via the CLI into my project.

 

Second question.

I don't see much in the documents that describes including dependencies for your component. By example i want to explore different Drag and Drop libraries e.g. Greensocks drag and drop library as one example. 

What is the best/recommended policy for this? in terms of  where should i put the files. My best guess is relative to the js/ folder and use a relative require path for them. I guess i just wanted to see an example of anyone else whose done it. 

 

Thanks for any help in advance.

 

Cheers

 

K

 

Picture of Dennis Heaney
Re: Component Development
by Dennis Heaney - Sunday, 7 September 2014, 8:56 PM
 

Hi Kevin,

Just thought I'd jump on quickly and help you with the first question. Your url should be of the form:

git://github.com/KevCJones/adapt-dragdrop.git

I'll leave the second question as an exercise for someone else ...

Picture of Kevin Jones
Re: Component Development
by Kevin Jones - Sunday, 7 September 2014, 10:42 PM
 

Ahah cheers..

Regarding #2 i think i've just seen in the 'media' component there is a good example so i'm good on all fronts now.

 

Cheers

 

K

Picture of khaled sayed
Re: Component Development
by khaled sayed - Monday, 9 March 2015, 12:16 PM
 

Please , I'm new in working with adapt frame work , can any one help me and describe in details how to add a component to the adapt tool, i try to add DragDrop component , i can install it in my machin but i can't find it in the adapt UI ,

please i need some one to add steps how to use any custom component

 

thanks