Comments (5)
I am sorry @developer239, it may take me more time to understand that, to commit a new version to fit the requirement. Because we use to upload images to cdn, that is why I did not encounter this situation.
from react-redux-boilerplate.
Yea cool :) I am working on boilerplate with ssr right now I might post an example once I am done. Hopefully by the end of the weekend.
from react-redux-boilerplate.
Do you mean copying image to public, and using in html tag ?
I usually put image in public directory
, which is support by express: read more
such as
<img src="/public/logo.png" />
from react-redux-boilerplate.
The correct way in react would be importing static assets directly inside components using import
or require
. I was trying to make ssr hot reloading work with express but it is currently not possible because of images. The only right way how to make ssr work with hot reloading is by using webpack.
from react-redux-boilerplate.
Hey @developer239
Could you please have a look at #8 if you are working on a version of this as the foundation of your boilerplate
from react-redux-boilerplate.
Related Issues (8)
- 404 HOT 1
- warning.js?1096:36 Warning: React attempted to reuse markup in a container but the checksum was invalid. HOT 1
- Uncaught Error: Cannot find module "react"
- Uncaught SyntaxError: Unexpected token < HOT 1
- can i add eslint for this repo and send a pr? HOT 2
- Routing doesn't seem to work with Link HOT 3
- HMR + auto reload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-redux-boilerplate.