Skip to content
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

Img src relative to component #5176

Closed
ziaukhan opened this issue Nov 7, 2015 · 4 comments
Closed

Img src relative to component #5176

ziaukhan opened this issue Nov 7, 2015 · 4 comments

Comments

@ziaukhan
Copy link

ziaukhan commented Nov 7, 2015

It would be nice if we could bundle images with components. Each component will be in a separate directory with an images subdirectory. Right now I have to give the full path and if I move the component directory it breaks the path. Is there a way to give the path relative to the component.ts file?
Note: The same applies to styleUrls

@choeller
Copy link
Contributor

choeller commented Nov 9, 2015

I think this is the issue you're looking for: #2383

@BahgatMashaly
Copy link

i'm facing the same problem

@pkozlowski-opensource
Copy link
Member

Same as #6637

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants