본문 바로가기 메뉴 바로가기

BIBLIYA 개발 노트 LV_1

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

BIBLIYA 개발 노트 LV_1

검색하기 폼
  • 분류 전체보기 (24)
    • React Native (0)
    • React (2)
    • NextJS (12)
    • JavaScript (3)
    • TypeScript (5)
    • CSS (1)
    • Side Projects (1)
  • 방명록

nextrewrite (1)
[NextJS] Redirect and Rewrite

Redirect next.config.js /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, async redirects() { return [ { source: "/이렇게 친다면", destination: "/여기로 보내줘", permanent: false, }, ]; }, }; module.exports = nextConfig; 1. source를 찾는다 ( /find로 이동한다면) 유저가 어디론가 이동한다면 원하는 곳으로 destination으로 보낸다 ( /about 으로 가게 해줘) 2. redirection이 영구적(permanent)인지 아닌지에 따라 브라우저나..

NextJS 2022. 10. 14. 17:21
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • NextJS
  • nextredirect
  • typescriptfunction
  • 파이어베이스버전9
  • firebasev9
  • 웹인쇄
  • nextjscss
  • typescriptinterface
  • nextrewrite
  • websocekt
  • 404pages
  • typescriptclass
  • Socket
  • firebaseorderby
  • Router
  • cssmodules
  • 웹소캣
  • nextjsjsx
  • webhook이란
  • TypeScript
  • reactquill
  • nextjsrouter
  • stylesjsx
  • nextjsseo
  • reduxtoolkit
  • React
  • reactjs
  • mediaprint
  • serversiderendering
  • firebasecollection
more
«   2026/04   »
일 월 화 수 목 금 토
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 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바