umijs / qiankun

📦 🚀 Blazing fast, simple and complete solution for micro frontends.
https://qiankun.umijs.org
MIT License
15.77k stars 2.01k forks source link

子应用是vue2,路由切换警告: [Vue Router warn]: No match found for location with path "/management/dashboard" #2933

Closed sje999 closed 6 months ago

sje999 commented 6 months ago

主应用是vue3

microApps = [
  {
    name: 'management',
    entry:
      import.meta.env.MODE === 'development'
        ? import.meta.env.VITE_APP_SYS
        : sysWebUrl(),
    activeRule: '/management'
  }
]

路由配置了

{
    path: '/404',
    name: '404',
    meta: { title: '404' },
    component: () => import('@/views/404.vue')
  }

子应用是vue2,子应用路由切换的时候回警告:Vue Router warn]: No match found for location with path "**" 都是按照官网配置的,不知道哪里的问题。请教大佬

github-actions[bot] commented 6 months ago

由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~