본문 바로가기

space mine

검색하기
space mine
프로필사진 mi-ne

  • 분류 전체보기 (16)
    • Linux (3)
    • SQL (2)
    • Python (6)
      • Flask (2)
    • JavaScript (2)
    • React (1)
    • Docker (0)
    • ETC (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/07   »
일 월 화 수 목 금 토
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 31
Tags
  • flask
  • mysql unique key 생성
  • 유니크키 생성
  • nextjs커스텀에러페이지
  • unique key 추가
  • 커스텀에러페이지
  • lodash remove
  • lodash unionBy
  • python string list to list
  • python dataframe
  • mysql unique key
  • python string to list
  • 404에러페이지 커스텀
  • lodash find
  • js date
  • python str to list
  • mysql unique key 추가
  • unique key 생성
  • flask예제
  • lodash uniqBy
  • python str list to list
  • string to list
  • lodash findIndex
  • Python
  • styled component
  • 404에러페이지
  • pandas dataframe
  • 유니크키 추가
  • unnest란
  • Nextjs
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록React (1)

space mine

[React] styled-component 설치 및 사용하기

1. styled components 를 설치해준다 yarn add styled-components yarn add babel-plugin-styled-components 2. 설치 완료 후 root 디렉터리에 .babelrc 파일 설정 추가 { "presets": ["next/babel"], "plugins": [ [ "styled-components", { "ssr": true } ] ] } 3. pages 폴더 하위에 _document.js 파일을 추가 import React, { ReactElement } from "react"; import Document, { DocumentInitialProps, DocumentContext, Html, Main, NextScript, Head, } from..

React 2022. 11. 7. 18:32
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바