Re-Exporting from In-Repo-Engine
See original GitHub issueHey, I have a project which uses ember-paper and therefore has it imported correctly.
I’ve then generated an in-repo-engine for my admin panel (using ember g in-repo-engine admin
).
The content of the lib/admin/index.js is the following:
var EngineAddon = require('ember-engines/lib/engine-addon');
module.exports = EngineAddon.extend({
name: 'admin',
isDevelopingAddon: function() {
return true;
}
});
As stated in the guide (http://ember-engines.com/guide/sharing-components-and-more) this should be sufficent to re-export all addons used by the project/owner. Though I get an A component or helper named "paper-button" could not be found
error everytime I want to use one of the ember components in the engine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
How to import all the components and utils in an in-repo- ...
As far i have seen i need to re-export that component by creating all ... How to import all the components and utils...
Read more >Reexports and Offshore Transactions
Guidance on Reexports/Transfers (in-country) of U.S.-Origin Items or Non-U.S.-made Items Subject to the Export Administration Regulations ...
Read more >buschtoens/ember-engines - npm package
Route-less engines, which can be rendered in a template using the {{mount}} keyword. Sharing of dependencies from parents (applications or other engines) to ......
Read more >Enginification | Mainmatter - Simplabs
add re-export of the addons' component so it is added to the app ... After that, setting up the in-repo engine according to...
Read more >Rancher UI
When adding new components to an engine ensure you are only re-exporting the ... of shared components for use with both the main...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@trentmwillis but in other issues it is stated, that only the projects/owner package.json need to have the dependencies listed?
See: https://github.com/ember-cli/ember-cli/issues/4164 “If a given dep exists in the project’s package.json they are available in the in repo addon (regardless of if the in-repo-addon’s package.json lists the dep).”
@nickschot we’re moving away from bower the same way that ember-paper did, so I guess semantic-ui-ember should do the same