解决nginx部署vue刷新、访问路由页面404 参考:https://blog.csdn.net/qq_43059674/article/details/110296807 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; 1. 2. 3. 4. 5. 6....