[英]Is this possible to group the in-repo engines under lib folder? Example: lib/group1/engine1…etc
Is this possible to group certain in-repo engines under lib folder? 是否可以在lib文件夹下对某些回购引擎进行分组? Example: lib/group1/engines lib/group2/engines
示例:lib / group1 / engines lib / group2 / engines
It is possible by creating multiple in repo engines. 通过创建多个in repo引擎是可能的。 Presuming your working directory is an ember application with the
ember-engines
package installed: $ ember generate in-repo-engine group1 $ ember generate in-repo-engine group1
Be aware that linking between them is not necessarily supported. 假设您的工作目录是一个安装了
ember-engines
软件包的ember应用程序: $ ember generate in-repo-engine group1 $ ember generate in-repo-engine group1
请注意, 它们之间的链接不一定受支持。 The official guide has the best explanation for creating them. 官方指南为创建它们提供了最好的解释。 Based on the core team member's response in the first link, I think the best practice is to create engines as independent ember addons.
根据核心团队成员在第一个链接中的回答,我认为最佳实践是将引擎创建为独立的余烬插件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.