[NextJS] CSS Modules
NextJS에서 CSS를 효과적으로 사용하는 방법 ex) NavBar.js 만든 곳에 NavBar.module.css 파일을 만들어 준다. NavBar.module.css .nav { display: flex; justify-content: space-between; background-color: tomato; } NavBar.js import Link from "next/link"; import styles from "./NavBar.module.css"; export default function NavBar() { return ( Home About ); } Router와 함께 사용 / class 두개 줄 때 import Link from "next/link"; import { useRouter ..
NextJS
2022. 10. 14. 12:10
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- NextJS
- nextjsseo
- serversiderendering
- mediaprint
- websocekt
- React
- webhook이란
- nextjsjsx
- nextjsrouter
- typescriptinterface
- Socket
- nextredirect
- reduxtoolkit
- firebasecollection
- 웹인쇄
- nextrewrite
- TypeScript
- Router
- typescriptclass
- reactquill
- firebaseorderby
- cssmodules
- 파이어베이스버전9
- nextjscss
- stylesjsx
- reactjs
- 웹소캣
- firebasev9
- 404pages
- typescriptfunction
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
