Tailwindcss를 사용하려고 다운을 받으려고 하는데 자꾸만 tailwind의 명령어를 찾을 수 없다고 했다...

여러가지 방법을 시도해봤는데, 결론적으로 버전문제였다.

npm install -D tailwindcss@3 postcss autoprefixer

처음 install 할 때, @3 으로 버전을 설정해주니까

npx tailwindcss init -p

Created Tailwind CSS config file: tailwind.config.js
Created PostCSS config file: postcss.config.js

이렇게 성공했다!

profile
ad astra per aspera

0개의 댓글