angular-pluggable-architecture:这是允许动态插入功能的Angular应用程序的示例

时间:2024-05-22 16:45:36
【文件属性】:

文件名称:angular-pluggable-architecture:这是允许动态插入功能的Angular应用程序的示例

文件大小:153KB

文件格式:ZIP

更新时间:2024-05-22 16:45:36

angular extensions plugins widgets systemjs

角度可插拔架构 这是我的文章的代码示例 ,一个允许动态插入功能的Angular应用程序。 该应用程序是一个带有控件的简单仪表板,这些控件在运行时从外部源加载。 此回购包含: dahboard-一个提供小部件仪表板的Angular CLI项目。 为了简单起见,负责提取和编译小部件的所有逻辑都在dashboard.component.ts 。 widgets-repo-外部资源库,在该外部资源库中提供窗口小部件配置和捆绑软件。 (对于本演示,这仅是通过http-server提供的静态内容)。 wiget-hello-包含嵌套子组件的窗口小部件组件的示例。 wiget-quotes-小部件组件的示例,该组件使用服务从API检索引号。 widget-todays-date-另一个小部件组件。 运行演示 生成所有小部件 ./build_widgets.sh 启动widgets-repo


【文件预览】:
angular-pluggable-architecture-master
----dashboard.gif(30KB)
----widgets-repo()
--------package.json(188B)
--------.gitignore(13B)
--------yarn.lock(4KB)
--------widgets()
----build_widgets.sh(328B)
----widget-quotes()
--------rollup.config.js(747B)
--------package.json(543B)
--------src()
--------tsconfig.json(5KB)
--------.gitignore(556B)
--------yarn.lock(15KB)
----dashboard()
--------package.json(1KB)
--------tslint.json(3KB)
--------protractor.conf.js(722B)
--------.angular-cli.json(1KB)
--------src()
--------tsconfig.json(363B)
--------e2e()
--------proxy.conf.json(145B)
--------.gitignore(544B)
--------karma.conf.js(923B)
--------README.md(284B)
--------yarn.lock(225KB)
--------.editorconfig(245B)
----widget-todays-date()
--------rollup.config.js(626B)
--------package.json(487B)
--------src()
--------tsconfig.json(5KB)
--------.gitignore(556B)
--------yarn.lock(14KB)
----LICENSE(1KB)
----widget-hello()
--------rollup.config.js(620B)
--------package.json(481B)
--------src()
--------tsconfig.json(5KB)
--------.gitignore(556B)
--------yarn.lock(14KB)
----README.md(2KB)

网友评论