项目部署到OSS中 #729
sitonlotus
started this conversation in
General
项目部署到OSS中
#729
Replies: 2 comments 2 replies
-
history是服务器配置的问题,将所有路由指向index.html |
Beta Was this translation helpful? Give feedback.
0 replies
-
hash路由的适配需要更新到1.0,使用虚拟路由,更方便接入 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
项目如果通过OSS部署的话,如果基座使用history的话,只要一访问就会跑到文件夹下,没有对应到index.html中,在这种情况下需要怎么处理?
目前的解决方案主要有两种:
1.加CDN,但是公司里面的没人会搞,而且加了也是没什么作用;
2.给基座配置hash路由,但是子应用加载失败,希望能够给出相关的例子,目前还缺少基座和子应用都是hash的例子,
求基座和子应用都是hash的例子
Beta Was this translation helpful? Give feedback.
All reactions