简体   繁体   English

是否可以将回购引擎分组在lib文件夹下? 例如:lib / group1 / engine1…etc

[英]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.

相关问题 是否可以将 ember-cli-addon-docs 与 in-repo 插件一起使用? - Is it possible to use ember-cli-addon-docs with an in-repo addon? 是否可以构建回购附加组件结构,以选择性地扩展基本附加组件,但应用程序对此一无所知? - Is it possible to build in-repo addon structure that optionally extends a base addon but the app remains unaware of that? ember-cli从in-repo插件运行测试 - ember-cli run tests from in-repo addons 用插件中的模板覆盖余烬组件模板(内部仓库) - Override ember component template with template from addon (in-repo) ember-cli-htmlbars插件未处理回购插件模板 - ember-cli-htmlbars plugins not processing in-repo addon templates 在app-in-appo中创建Ember CLI Addon:如何安装npm依赖项? - Creating an Ember CLI in-app/in-repo Addon: how to install npm dependencies? In-repo插件在构建时编写公共文件会导致无法在服务上构建循环 - In-repo addon writing public files on build causes endless build loop on serve 使用ember serve上的in-repo addon config()方法更新Ember.js环境变量不会生效 - Updating Ember.js environment variables do not take effect using in-repo addon config() method on ember serve 使用googleapis lib获取refresh_token - Getting refresh_token using googleapis lib 灰烬族绑定 - Ember group binding
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM