forsartis/vue-cli-plugin-tailwind

serve not compiling tailwind new classes

Closed this issue · 1 comments

I install vue-cli-plugin-tailwind with a minimal config, when I run yarn serve to use vue-cli-service serve, new tailwind classes that I add to my code don't compile after vue-cli-service serve update my served project.

For example, in the below picture, you see I have text-white, but the button text color doesn't change to white
Screen Shot 2021-08-15 at 11 17 10

If I kill the server and run yarn serve again, button text changes to white

This is because the version of tailwind did not support JIT mode. #39 this pull request fixes those issues and it supports the latest version of tailwind, meaning JIT mode is fully supported.