Is the Tailwind config correctly specifying where to watch your content
module.exports = {
content: ["./src/**/*.{html,js}"], // paths to your views
theme: {
extend: {},
},
plugins: [],
}
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When I apply new styles on a page in my project its not getting reflected on the page, if I apply styles that I used previously then they work just fine, npm run watch is running in the background and laravel mix keeps saying webpack compiled successfully but the changes are not being reflected at all, for example if using class="mb-4" works then changing it to class="mb-10" removes the margin completely like it doesn't even exist. What could be the issue here?
Please or to participate in this conversation.