vue项目部署后刷新当前页面 nginx404

在nginx 配置文件添加一句
try_files $uri $uri/ /index.html last;
就好了

猜你喜欢

转载自blog.csdn.net/weixin_42821697/article/details/109289401