https://github.com/dmqin/learnNextjs-tailwind/raw/refs/heads/main/pages/tailwind_Nextjs_learn_percutient.zip + Tailwind CSS Example
This example shows how to use Tailwind CSS (v2.2) with https://github.com/dmqin/learnNextjs-tailwind/raw/refs/heads/main/pages/tailwind_Nextjs_learn_percutient.zip It follows the steps outlined in the official Tailwind docs.
It uses the new Just-in-Time Mode for Tailwind CSS.
Preview the example live on StackBlitz:
Deploy the example using Vercel:
Execute create-next-app with npm or Yarn to bootstrap the example:
npx create-next-app --example with-tailwindcss with-tailwindcss-app
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-appDeploy it to the cloud with Vercel (Documentation).