|
0
|
| Leonel Matias Domingos · 技术社区 · 4 年前 |
|
|
1
1
在里面
然后确保导入并渲染到
|
|
|
2
-1
您可以使用React组件导出路由,甚至在索引中这样做。jsx
在文档中查找参考资料: https://reactrouter.com/docs/en/v6/getting-started/overview |