简体   繁体   English

从另一个ExtJS自定义框架扩展组件

[英]Extending components from another ExtJS custom framework

I'm familiar with extending components within the same ExtJS MVC application, but now I'm wanting to use components from another ExtJS MVC application? 我熟悉在同一个ExtJS MVC应用程序中扩展组件,但是现在我想使用另一个ExtJS MVC应用程序中的组件吗? Can someone help me understand how this can be done and give an example of extending a component from App1 (MVC) in App2 (MVC)? 有人可以帮助我了解如何完成此操作,并举一个在App2(MVC)中从App1(MVC)扩展组件的示例吗?

I would use sencha cmd to create a package that is used by both applications and holds shared or common logic. 我将使用sencha cmd 创建一个包 ,供两个应用程序使用,并包含共享或通用逻辑。 Then each application can extend the components as needed. 然后,每个应用程序都可以根据需要扩展组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM