I found a project on GitHub and imitated it. After npm run build is packaged, I can use http-server to open the page on my local machine, but uploading the contents of the dist folder to GitHub and Coding cannot.
It’s normal locally!
This is on GitHub, no error is reported
GitHub address
Coding address
Please help me clear up my doubts
第一次打开会有这个报错,找不到 favicon