-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
font, background image url path not working from the app.css #2242
Comments
I have the same issue. However, when i serve using gulp seve:dist, all fonts adn images are working -create a fresh project with latest generator
Let me know if you need more details |
I had to change the following line to make it work
|
On windows, I had to change to: publicPath: BUILD || DEV || E2E ? 'http://localhost:3000/' : 'http://localhost:${8080}/', But I've only tried with gulp serve by now |
👍 |
@Kannach solution works for me! |
I tested the change for publicPath: |
@Kannach solution is not working for me. Can anybody help me out? |
#2188 might be related |
^ closing, assuming the same solution will fix it |
Hey, ran into this. FYI: The workaround above broke deploying to heroku because all the built paths were pointing to localhost. |
I have app.css generated by yo angular-fullstack with .css stylesheet.I am trying add background image from app.css "background: url("/assets/images/top-background.jpg") no-repeat;" however it doesn't show up in the frontend.This is even not working for fonts.The path doesn't seem to work.Any images or fonts loading from app.css are not working at all.Guys please help me
The text was updated successfully, but these errors were encountered: