I have deployed vue-cli app to gh pages. Loading ok. But after refreshing a 404-error occurs

123 Views Asked by At

I have made an app based on vue-cli 3 and vue-router, deployed it to gh pages and saved the link. When I click on the link, the app loads normal. But if I click on refresh/reload, a 404-error occurs. My link: https://alexandrchek.github.io/filmrock/index.html

I tried to find the answer in the net. But I have not find a description of the same problem. There are no descriptions of problems with refreshing. Why does it happen? Help me to fix this problem, please.

0

There are 0 best solutions below