ember.js - ember app within another ember app -
we writing ember app provides basic infrastructure app building. users can use app , build there own ember app utilizing infrastructure provided app. app provides basic utility services authorization, authentication, layout, templates, reusable ui components, consistent , feel, scaffolding, dependency stack etc. question is,
how can users build there own ember app utilizing these services , include within parent app, nested app, parent app provides common services. possible include 1 ember app within ember app? child app content should shown in parent content window retaining navigation links , layout.
there can situation multiple apps included under parent app , each of these child app can accessed using router in parent app, example, if child1 , child2 apps included under parent app, navigating "/childroute1" of parent should open child1 in parent content window , navigating "childroute2" should open child2 in content window. possible using ember? if not how can achieved?
thank in advance
this question bit vague, think want:
window.app = ember.application.create({ rootelement: '#ember-app' });
include within ember.js application definition assign ember app specific div (in case ember-app
). div can within jsp of existing ember.js application.
Comments
Post a Comment