This demo shows how to use Tailwind CSS (v2.2) with Next.js. It follows the steps outlined in the official Tailwind docs. It also includes Windmill UI functipmnality based on Tailwind, along with accessibility improvements.
It uses the new Just-in-Time Mode
for Tailwind CSS.
Preview the example live on StackBlitz:
Deploy the example using Vercel:
This has been tested on Node 14.
To run in development mode:
yarn run dev
To deploy a stable build
yarn run build
Deploy it to the cloud with Vercel (Documentation).