개발자의 logs
useRoutes() may be used only in the context of a <Router> component. 해결방법, 내가 적용한 글 본문
세계에러수집위원회/에러모음소
useRoutes() may be used only in the context of a <Router> component. 해결방법, 내가 적용한 글
주인장v 2022. 10. 2. 21:04
https://cocoon1787.tistory.com/828
[React] (v6 Route 오류 해결) "useRoutes() may be used only in the context of a <Router> component."
import React from "react"; import { Route, Routes } from "react-router-dom"; import styled from "styled-components"; import Main from "./container/Main"; import Login from "./container/Login"; impo..
cocoon1787.tistory.com
'세계에러수집위원회 > 에러모음소' 카테고리의 다른 글
Comments