首页 > 技术文章 > VueRouter history模式在Nginx下刷新404
-wei 2020-06-04 18:20 原文
打开 nginx.conf location / { root html/dist; index index.html; try_files $uri $uri/ /; #加上这一行 }