We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vben Admin V5
如图,使用相对路径引用一张图片背景,发现并没有显示,在devtools里面查看,发现路径变成了public下的路径 如果使用img标签就能正常显示, 查询历史issues感觉应该是vite-plugin-html造成的问题,但是和以前的问题感觉又不太一样
vite-plugin-html
/
No response
The text was updated successfully, but these errors were encountered:
https://cn.vitejs.dev/guide/assets.html 静态资源引用务必经过import。构建之后不会保持开发时期的目录结构了
Sorry, something went wrong.
No branches or pull requests
Version
Vben Admin V5
Describe the bug?
如图,使用相对路径引用一张图片背景,发现并没有显示,在devtools里面查看,发现路径变成了public下的路径
如果使用img标签就能正常显示,
查询历史issues感觉应该是
vite-plugin-html
造成的问题,但是和以前的问题感觉又不太一样Reproduction
/
System Info
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: