게시글
질문&답변
2021.11.29
FavoritePage에서 Runtime을 받아오질 못합니다.
models/Favorite.js 파일에서 movieRuntime 삽입,오타 여부 확인하시면 될것같습니다.
- 0
- 1
- 171
질문&답변
2021.11.07
오류가 뜹니다.
import React from "react"; import { BrowserRouter as Router, Routes, Route, Link } from "react-router-dom"; import LandingPage from "./components/views/LandingPage/LandingPage"; import LoginPage from "./components/views/LoginPage/LoginPage"; import RegisterPage from "./components/views/RegisterPage/RegisterPage"; export default function App() { return ( Router> div> nav> ul> li> Link to="/">HomeLink> li> li> Link to="/login">AboutLink> li> li> Link to="/register">UsersLink> li> ul> nav> Routes> Route exact path="/" element={LandingPage />}>Route> Route exact path="/login" element={LoginPage />}>Route> Route exact path="/register" element={RegisterPage />} >Route> Routes> div> Router> ); }
- 0
- 2
- 1.3K