import { BrowserRouter, Route } from "react-router-dom". Then in a parenthesis of return , wrap jsx <Navbar /> contents by <BrowserRouter></BrowserRouter> .
確定! 回上一頁