const router = new VueRouter({
mode: "history", //复制地址会提示空白页
routes
})
复制地址粘贴会出现以下页面

解决方案 https://www.cnblogs.com/goloving/p/9170508.html
nginx
location / {
root D:\Test\exprice\dist;
index index.html index.htm;
try_files $uri $uri/ /index.html; //添加的
}
网友评论