打开 nginx.conf
location / {
     root   html/dist;
     index  index.html;
     try_files $uri $uri/ /; #加上这一行
 }

  

相关文章: