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

通过html行内样式css的background-image属性无法正确引用图片 #2993

Jv-Juven opened this Issue Mar 11, 2018 · 3 comments


None yet
3 participants

Jv-Juven commented Mar 11, 2018


<div style="background-image: url(~assets/images/1.jpg)"></div>


GET http://localhost:3000/~assets/images/1.jpg 404 (Not Found)


This question is available on Nuxt.js community (#c2594)

This comment has been minimized.


yoyo837 commented Mar 13, 2018

use css...

This issue is something about webpack load image from html.


This comment has been minimized.


husayt commented Mar 13, 2018

please provide details in English

@husayt husayt closed this Mar 13, 2018


This comment has been minimized.

lock bot commented Nov 4, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 4, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.