时间:2024-10-13 13:38:40
1、利用npm引入react-router
4、root.js填写路由route里面再饷掘迹棂套一层route,里面的route就是子路由,加载的时候需要先加载上一层,再加载子路由。
6、跳转链接 link