ember.js - Reusable Ember Component across different modules -
I have two amber apps in the same website and I want to share the common components.
In my App # 1 (App1 namespace) I have this template that tries to use the drag-element component:
{{# drag- Element item = item.Id elementName = 'num' dragtype = 'visit'}} test {{drag-element}} I have defined the component in a different namespace like this :
Normal DragElementComponent = Ember.Component.extend ({...});
How can I refine this component from app 1 which is a different namespace than usual?
Comments
Post a Comment