Open kopax opened 5 years ago
Hi, I am using create-react-app and Webpack 4.
I am using the default example from the README.md
README.md
I have in my developer console an assets loading error which cannot find the resource.
When I look at the source code, it seems that it does not use any loader for loading the image but just a src link.
src
This means that we need to copy the images somewhere in our assets, instead of directly using what we need in the code.
Because this involve copy, I suggest that we import the image using the appropriate loader like how it as been done here for json here
Hi, I am using create-react-app and Webpack 4.
I am using the default example from the
README.md
I have in my developer console an assets loading error which cannot find the resource.
When I look at the source code, it seems that it does not use any loader for loading the image but just a
src
link.This means that we need to copy the images somewhere in our assets, instead of directly using what we need in the code.
Because this involve copy, I suggest that we import the image using the appropriate loader like how it as been done here for json here
Related issues