This example shows how to use Tailwind CSS v3 with Next.js. It follows the steps outlined in the official Tailwind docs.
It uses the new Just-in-Time Mode
for Tailwind CSS.
- Node (16.14.2)
- Npm (8.5)
- Tailwind CSS (3.0)
- HeadlessUI (1.4)
- Shopify Storefront API (2022-04)
Preview the example live on Vercel:
npm install
npm run dev
Deploy it to the cloud with Vercel (Documentation).