oss一般找不到页面会报这个:
This XML file does not appear to have any styleinformation associated with it. The document treeis shown below.
1、路由与history改成hash.
2、如果是window.location这种,前面加 "/#"
另外如果vue2项目使用了代理,则部署后报404.取消代理使用就好
oss一般找不到页面会报这个:
This XML file does not appear to have any styleinformation associated with it. The document treeis shown below.
1、路由与history改成hash.
2、如果是window.location这种,前面加 "/#"
另外如果vue2项目使用了代理,则部署后报404.取消代理使用就好