Router with many pages
-
Hi,
Is there any way to have different routes in the App component? Like below :import { useContext } from “react”;
import { Route, Routes, useLocation } from “react-router-dom”;
import Start from “./components/start-page/Start”;
import DecisionMakers from “./components/step-2/DecisionMakers”;
import TimeResource from “./components/step-4/TimeResource”;
import “./App.css”;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Router with many pages’ is closed to new replies.