courses icon indicating copy to clipboard operation
courses copied to clipboard

No need to import Tailwind twice

Open deadcoder0904 opened this issue 4 years ago • 0 comments

See https://tailwindcss.com/docs/guides/nextjs#include-tailwind-in-your-css

You've imported it twice once using import 'tailwind/tailwind.css'; & next time using @tailwind. If you check the docs above, it only has to be imported once in either way.

Personally, I prefer using @tailwind so I can add other styles not yet supported by Tailwind.

You can change the Tailwind part on → https://jonmeyers.io/blog/tech-stack-and-initial-project-setup

Nice write up btw 👏

deadcoder0904 avatar Oct 14 '21 08:10 deadcoder0904