Skip to content

Commit 25a3aff

Browse files
iRoachieOrdinalKing
authored andcommitted
Added instructions for using local images (#589)
1 parent 2fb9333 commit 25a3aff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-scripts/template/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ function Header() {
320320
export default function Header;
321321
```
322322

323+
This is currently required for local images. This ensures that when the project is built, webpack will correctly move the images into the build folder, and provide us with correct paths.
324+
323325
This works in CSS too:
324326

325327
```css

0 commit comments

Comments
 (0)