📌  相关文章
📜  开关不是从 react-router-dom 导出的 - 无论代码示例

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

代码示例2
import React from "react";
    import "./App.css";
    import NavBar from "./components/navbar.js";
    import Footer from "./components/footer.js";
    import Home from "./components/pages/homepage/home.js";
    import { BrowserRouter as Router, Switch, Route, Link } from "react-router-dom";
    
    function App() {
      return (
        
          
); } export default App;