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
使用NERVJS 框架 在JSX中IMG标签引入图片,图片无法预览,好像是没有引用的问题,在CSS中应用的背景图片就可以访问的到? 请问这种要怎么解决或者要怎么写
The text was updated successfully, but these errors were encountered:
要使用 import 或者 require 引用一下图片资源,然后再使用
import
require
import xx from './images/bg.jpg' <img src={xx} />
Sorry, something went wrong.
No branches or pull requests
使用NERVJS 框架
在JSX中IMG标签引入图片,图片无法预览,好像是没有引用的问题,在CSS中应用的背景图片就可以访问的到?
请问这种要怎么解决或者要怎么写
The text was updated successfully, but these errors were encountered: