-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
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:
<img src="./logo.svg" className="App-logo" alt="logo"/>I think for the client-side-rendered react app, the image assets are imported and resolved by webpack loader:
import logo from './logo.svg';
// ...somewhere in the render method
<img src={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.
Metadata
Metadata
Assignees
Labels
No labels