Issue
I've just started a new project in Laravel but I'm having issues with Tailwind. I can't use all margin or padding spacing options like m-5, p-4 or mb-4 and so on... Weird thing is I can use mt-5 but can't use m-5.
When I create a new project, it comes with Tailwind CSS. I also tried with npm installation with npm install -D tailwindcss@latest postcss@latest autoprefixer@latest but nothing changed.
Checkout this image: screenshot.
How can I fix this issue?
Solution
I figured it out. The new JIT (Just In Time) feature was enabled by default. I removed mode: 'jit', line in tailwind.config.js and compiled again. And problem solved.
Answered By - I. Kaya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.