-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Linked addons #11
Comments
Even if I have to specify the extra addon paths manually for the plugin to use, that's fine |
This seems like a nice functionality to have. Just to be clear, the addon is installed somewhere in the
For the last step, could you describe what the path to this component would look like? To be honest, I've never written an addon, so I'm not sure what to look for. A guide to writing addons might help, but a concrete example would be even more useful (something like, "here's the github repo of one such addon, it would be installed under |
@AndrewRadev You got it. the entry in my application's
Not sure what the deal is with the double
It'd actually be a good idea to detect whether the current project is itself an addon (i.e. check for the existence of an // app/components/api-version-check.js
export { default } from 'my-ui-addon/components/api-version-check'; I guess this all gets transpiled properly to fulfill that export, but really the code for Adding this bit of functionality would be great for me, a heavy user of custom addons. 👍 |
@AndrewRadev if you'd like I can take a shot at implementing this |
Well, I created a test addon to experiment with, but I give no guarantees about when I'd really get around to it. If you'd like to try it out yourself, I'd certainly appreciate a PR, even if it's incomplete. There are tests, if you can get a ruby environment going, so you'd have some feedback if you accidentally break something. You might even write a test or two to guide you as you work, I think they're fairly straightforward to write for the Either way, I'll see when I can get around to it as well and I'll let you know if I have something working. |
I use
npm link
while in development so I can develop my addons and realize the changes immediately when runningember serve
against my application that uses them.I was wondering if it is possible to have this plugin "know about" the source folder for my addon such that when I use
gf
on a HandleBars component it'll find the source for it in the addon folder?The text was updated successfully, but these errors were encountered: