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

dualcnhq picture dualcnhq  路  3Comments

alleroux picture alleroux  路  3Comments

fson picture fson  路  3Comments

DaveLindberg picture DaveLindberg  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments