Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 돌소
- springboot
- Vue
- 카페
- DTO typr
- java
- 네스트제이에스
- React
- 웹용어
- BFF Pattern
- 순환종송석
- vue install
- @Overloading
- 권한세팅
- linux
- 명령어
- @ Deprecated
- nestJS
- 페이지 라우팅
- Port ~ was already in use.
- :src
- 돌소엔
- forwardRef()
- npx install create-react-app
- request dto
- 필수명령어
- 소돌엔
- Web server failed to start.
- WEB
- TypeScript
Archives
- Today
- Total
목록페이지 라우팅 (1)
유바바아들 닮은 개발자의 끄적끄적

1. 준비물 react-router-dom 2. react-router-dom 설치 npm install react-route-dom 저는 버전을 ^6.12.1로 세팅했습니다. 3. 디렉터리 설정 - components - route - middleware 4. route/allRoutes.tsx 코드 생성 import React from "react" import { Navigate } from "react-router-dom" // 페이지 경로 import Login from "../page/login" import LoginChoose from "../page/loginChoose" import LoginVerification from "../page/loginVerification" interfa..
React
2023. 6. 15. 17:32