You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an addon 'MyAddon' with a component 'MyComponent', that I'd like to support SVGs via ember-svg-jar. But the actual SVG images should come from MyApp, that uses MyAddon.
Calling MyComponent is simple: ```<MyComponent @svg="image-name"/>
But where do I put the images?
MyAddon/public would work, but the images belong to MyApp and not MyAddon.
Can I somehow configure sourceDirs to load the images from MyApp/public?
I could add ember-svg-jar as a dependency to MyApp, but it's really only a dependency of MyAddon.
I could modify the buildOptions function in ember-svg-jar/lib/build-options.js - no I won't do that.
Thanks for your help
The text was updated successfully, but these errors were encountered:
🤔 Question
I have an addon 'MyAddon' with a component 'MyComponent', that I'd like to support SVGs via ember-svg-jar. But the actual SVG images should come from MyApp, that uses MyAddon.
Calling MyComponent is simple: ```<MyComponent @svg="image-name"/>
But where do I put the images?
Thanks for your help
The text was updated successfully, but these errors were encountered: