1,用vue构建spa,本地服务器没问题,正常显示,但是放到服务器就会404
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
# try_files $uri $uri/ =404;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.html?s=$1 last;
break;
}
}
是需要服务器配置什么东西么??