Matiny
Matiny

Reputation: 179

With respect to ReactJS + Webpack, how can I include local images in my site?

I have a site, that I'm trying to re-make into a react edition.

http://matiny.altervista.org/VI/

If I'm not mistaken, I would have to use online links for all my images (as opposed to local paths). There's only 1 small problem: On just the front page, I have 40 images. Is there a headache-free way to include these images locally?

Upvotes: 0

Views: 44

Answers (1)

elas
elas

Reputation: 815

You can definitely use local paths for your images with webpack. Check the guide here

Upvotes: 1

Related Questions