Open GMbrianlaw opened 2 years ago
Please create a pull request with the potential fix; I will review and push if I see fit
Can't, this is something local. Because Vercel can't run workflows, you have to prebuild the Tailwind on your machine, then deploy the compiled CSS file.
He’s right. You hosted it with local host.
That's not what I mean. You can solve this issue by running a GitHub workflow.
Install Tailwind in the workflow, build the files, and deploy to Vercel. If you need help, I could try to help with the workflow.
https://github.com/actions/checkout https://github.com/marketplace/actions/vercel-action
Another solution which could work is to run a Tailwind pre-commit hook, which compiles the css, then just reference in React components.
Tailwind is not being compiled because PostCSS is not being run.