react-route动态路由,它的子路由路径配置在什么地方?

【react-route动态路由,它的子路由路径配置在什么地方?】

react-route动态路由,它的子路由路径配置在什么地方?

文章插图
React-route动态路由 , 它的子路由路径配置在哪里?React-route动态路由,它的子路由路径配置在哪里?简介:在一般的路由配置中,路径path和组件component总是一一对应的,比如const routes = { path: # 039;/#039;,组件:应用程序,索引路由:{组件