Ttou

Results 42 comments of Ttou

不行,子应用没激活的时候,vue-router 跳不到指定页面,路由需要特殊配置吗 ![iShot_2024-05-13_16 05 20](https://github.com/micro-zoe/micro-app/assets/4298437/f2dce9ad-06b7-413c-a364-48ee900b3714) ```ts import microApp from '@micro-zoe/micro-app' import type VueRouter from 'vue-router' interface Options { name: string path: string } export function useJumpApp({ name, path }: Options,...

试出来了,vue-router 跳转前需要对路径做编码 ```ts import microApp from '@micro-zoe/micro-app' import type VueRouter from 'vue-router' interface Options { name: string path: string } export function useJumpApp({ name, path }: Options, router: VueRouter) {...

我的处理是在保活的子应用里加一个数据监听事件,如果主应用在跳转后发现跳转的路径与跳转后的路径不一致,向子应用下发数据触发再次跳转 > 主应用 ```ts import microApp from '@micro-zoe/micro-app' import type VueRouter from 'vue-router' interface Options { name: string path: string } export function useJumpApp({ name, path }: Options, router: VueRouter)...

我把 CodeGeeX 禁掉就正常了,不然打开一个 ts 文件,会不停的重启 tsserver。 我也是一个个插件试出来的,思路来自这里: [issue](https://github.com/microsoft/vscode/issues/201855)

same issue,want print query log in single line

@felixmosh in windows system, the path resolve has problem,must change before ```ts const staticRelativePath = normalizedPath.replace(relativeRoot, ''); ``` after ```ts const staticRelativePath = process.platform === 'win32' ? normalize(relativePath.replace(relativeRoot, '')) :...

确实有这个问题,但是用4.5刷新后就到首页了,还是有问题

demo的vue3-sub页面配置有问题,加上hash前缀即可 ![image](https://user-images.githubusercontent.com/4298437/224668024-18eb98f4-5b1e-4149-aa5a-4aaa9f8007dc.png)