전체 글

안뇽
https://tailwindcss.com/docs/installation React 프로젝트에 Tailwind CSS 적용하기 create-react-app으로 React를 설치한 상태 jsx 사용 프로젝트 이름은 my-app이다. 1. tailwind.config.js 파일 생성 해당 프로젝트의 경로에서 tailwind.config.js 파일 생성 후 아래의 코드를 붙여넣는다. // my-app/tailwind.config.js module.exports = { content: ["./src/**/*.{html,js}"], theme: { extend: {}, }, plugins: [], } 팁 개발 시 jsx파일을 사용한다면 중괄호 안에 jsx도 추가해야 한다. content: ["./src/**/..
돌래
개발하세요 돌래의 숲