You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the site load in react(webpack-dev-server) the images load fine, but when run in koa sever, it gives me a warning like above. what can do?, I hope your's help, thanks.
I use a react component like <Image src={require('./image/iphone.jpg')} />
The text was updated successfully, but these errors were encountered:
@nickzym hey thank you put this issues so much 👍👍 , now this problem has been solved .
the problem caused because when server side resolve React Component , it cannot load sources like assets file , so we solve it by add a hook to import asset files during runtime .
When the site load in react(webpack-dev-server) the images load fine, but when run in koa sever, it gives me a warning like above. what can do?, I hope your's help, thanks.
I use a react component like
<Image src={require('./image/iphone.jpg')} />
The text was updated successfully, but these errors were encountered: