search

Home  >  Q&A  >  body text

javascript - For a project created using vue-cli, after running npm run build, the upload github and coding pages are not displayed?

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

我想大声告诉你我想大声告诉你2744 days ago487

reply all(1)I'll reply

  • 阿神

    阿神2017-05-19 10:11:45

    There will be this error when you open it for the first time, the favicon cannot be found

    reply
    0
  • Cancelreply