ember-app-nesting:Ember.js 应用程序嵌套的概念证明

时间:2021-07-13 15:51:59
【文件属性】:
文件名称:ember-app-nesting:Ember.js 应用程序嵌套的概念证明
文件大小:12KB
文件格式:ZIP
更新时间:2021-07-13 15:51:59
JavaScript 嵌套余烬应用程序 为了将多个 Ember 应用程序无缝集成在一起,最好是这些应用程序可以*嵌套和交叉路由。 这个项目是这种嵌套实现的概念证明,其中有两个应用程序red和green可在其自己的 .html 文件(切片)中独立访问,而集成应用程序blue则在其路由视图中实例化各个应用程序。 这两个组件是干净的 Ember.Application 子类,它们只与 Em.Nesting.NestedApplicationMixin 混合在一起,否则与 Ember.Application 结构/规则的默认方式没有区别。 然后,集成应用程序使用 Em.Nesting.IntegrationAppMixin 确保它能够按需实例化 Component Ember.Application 子类。 地位 仅限 POC。 跨组件路由待定(仅包含一些提示)。 余烬调整 为支持嵌套而对多个 Ember 组件
【文件预览】:
ember-app-nesting-master
----package.json(265B)
----index.html(58B)
----Procfile(44B)
----.gitignore(30B)
----README.md(6KB)
----apps()
--------blue()
--------green()
--------red()
--------integration.js(12KB)
----bower.json(122B)

网友评论