这个如何配置二级或者三级的router
Chaunjie opened this issue · comments
禾呈 commented
如何配置二级或者三级的router
雨夜带刀 commented
这个无非就是多加几个路径而已,很简单的:/api/users/:id
,细节上有疑问可以参照官方的文档。
https://github.com/reactjs/react-router/blob/master/docs/guides/RouteMatching.md
禾呈 commented
比如说page1页面要和page2页面共用一个导航条并且都是在首页导航下面