Create-react-app: Changing favicon.ico on root folder won't actually change favicon.ico

Created on 2 Jan 2017  路  4Comments  路  Source: facebook/create-react-app

So I imagined that it would be that easy, but apparently it is not.

1) how can I do it?
2) shouldn't be the right way to do it?

Most helpful comment

It should be in the public folder, not project root.

All 4 comments

It should be in the public folder, not project root.

Yes, I realized that the public folder was introduced in react-script ^0.5. I didn't have it because I was using 0.4. I thought that react-scripts were being updated automatically?

Like any npm dependency, it is installed according to what is in your package.json. I recommend reading an introduction to SemVer to get a better idea of how that works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oltsa picture oltsa  路  3Comments

JimmyLv picture JimmyLv  路  3Comments

rdamian3 picture rdamian3  路  3Comments

adrice727 picture adrice727  路  3Comments

barcher picture barcher  路  3Comments