📜  配置路由 v6 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:18.200000             🧑  作者: Mango

代码示例1
import { render } from "react-dom";
import {
  BrowserRouter,
  Routes,
  Route
} from "react-router-dom";
// import your route components too

render(
  
    
      }>
        } />
        }>
          } />
          } />
          } />
        
      
    
  ,
  document.getElementById("root")
);