patchClientRoutes({ routes }) 文档示例问题 #8653
later-design
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
问题的复现给个 demo 看看。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
根据文档patchClientRoutes({ routes })的示例测试提示:
![image](https://user-images.githubusercontent.com/16649952/180117164-82df586f-461c-4def-bb5f-c9619da75f12.png)
修改成如下正常加载:
routes.unshift({ path: '/foo', element: <div>111</div> })
Beta Was this translation helpful? Give feedback.
All reactions