mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Added instructions for using local images (#589)
This commit is contained in:
@@ -320,6 +320,8 @@ function Header() {
|
||||
export default function Header;
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
This works in CSS too:
|
||||
|
||||
```css
|
||||
|
||||
Reference in New Issue
Block a user