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
I think for the client-side-rendered react app, the image assets are imported and resolved by webpack loader:
importlogofrom'./logo.svg';// ...somewhere in the render method<imgsrc={logo}className="App-logo"alt="logo"/>
Accordingly, the original way does not fit your medium post. How would you resolve that kind of problem without adding extra webpack config on server-side or ejecting create-react-app?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi Andrie, I just read your post on medium recently about the SSR and Create-React-App without ejecting. It's awesome!
However, the following line of code confuses me:
I think for the client-side-rendered react app, the image assets are imported and resolved by webpack loader:
Accordingly, the original way does not fit your medium post. How would you resolve that kind of problem without adding extra webpack config on server-side or ejecting create-react-app?
Thanks a lot.
The text was updated successfully, but these errors were encountered: