Skip to content

[Bug]nginx配置主应用location到二级路径导致子应用无法加载 #2858

Answered by shier-code
shier-code asked this question in Q&A
Discussion options

You must be logged in to vote

目前该问题已解决,即在注册微应用的activeRule也加上相应前缀,代码示例如下:

 {
    name: "vue3-rxfb",
    entry: "/qk-isptl/rxfb/",
    container: "#micro-app-container",
    activeRule: ”/qk-isptl/#/sub-app/rxfb“
    props: {
    },
  }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shier-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2856 on December 25, 2023 11:05.