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

Resource files, where? #1586

Closed
rajjejosefsson opened this issue Aug 7, 2016 · 3 comments · Fixed by #1633
Closed

Resource files, where? #1586

rajjejosefsson opened this issue Aug 7, 2016 · 3 comments · Fixed by #1633
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix

Comments

@rajjejosefsson
Copy link

rajjejosefsson commented Aug 7, 2016

Please provide us with the following information:

1. OS?
OSX El Capitan

2. Versions

angular-cli: 1.0.0-beta.9
node: 6.3.0
os: darwin x64

3. Repro steps.

background:
          linear-gradient(
          rgba(0, 0, 0, 0.5), 
          rgba(0, 0, 0, 0.5)), url(../../resources/cinema-min-600.jpg);

  • resources folder is currently inside the SRC
  • have tried to use the public folder but same issue

This happens when deploying to my github.

4. The log given by the failure.

Failed to load resource: the server responded with a status of 404 (Not Found)

@deebloo
Copy link
Contributor

deebloo commented Aug 8, 2016

Put it in public. so if your put your images in public/resources/cinema-min-600.jpg you would access like this <img src="resources/cinema-min-600.jpg>"

@filipesilva
Copy link
Contributor

#1633 should allow you to do this.

@filipesilva filipesilva added type: bug/fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Aug 15, 2016
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants