I have two emberjs projects that use EAK as the main project structure. There is one common code that I want to share between these two projects: templates, views (and related style sheets), some utility classes, etc. But there are some doubts I want to find out:
Any push in the right direction will be a huge help! Thank.
We have a similar situation. We built Yoman, which means we have a conversation for addictions and grunts for construction. I'm not sure how this relates to EAK, so take it with salt.
, . , grunt, , , ( ), , . , Bower, , , (, ) .
. :
var appPath = "apps/ordering/"; var resolver = Ember.DefaultResolver.extend({ resolveTemplate: function (parsedName) { parsedName.fullNameWithoutType = appPath + parsedName.fullNameWithoutType; # fallback to raw templates (used for compatibility with non-Ember/emblem templates) return this._super(parsedName) || Ember.TEMPLATES[parsedName.fullNameWithoutType + ".raw"] } });
, this._super , .
this._super
,