Skip to content
Discussion options

You must be logged in to vote

Your purge config is wrong it should be this.

purge: ['./**/*.tpl','./*.html','./resources/js/vue/*.vue']

While you're correct the path would be correct from the tailwind file itself, the paths are relative to the top level not to the file. The proof of this is how your html file is in the top level not the resources folder but the purge works.

I verified by downloading your project and setting this which does indeed add bg-pink-900 to the build output.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@honzahana
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by honzahana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #5586 on September 24, 2021 16:36.