打开 nginx.conf location / { root html/dist; index index.html; try_files $uri $uri/ /; #加上这一行 }
Vue在Nginx下刷新404
原文:https://www.cnblogs.com/-wei/p/13045296.html