Skip to content

Commit 0d683cc

Browse files
committed
update readme about public folder
1 parent da2e820 commit 0d683cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,11 @@ git push origin joni/navbar-footer
8282
git pull origin master
8383
```
8484
On your branch!
85+
86+
## Public folder
87+
There is a separation of some assets into `public` and `src/assets` folder.
88+
The reason is that there are many gallery image and react [requires](https://github.com/facebook/create-react-app/issues/585)
89+
you to import each of them individually which will be tedious and time consuming.
90+
The solution is the proposed (and accepted) public folder which can be read more
91+
[here](https://github.com/facebook/create-react-app/pull/703)
92+
and [here](https://create-react-app.dev/docs/using-the-public-folder/)

0 commit comments

Comments
 (0)