This example shows how to use TypeScript andd Tailwind CSS (v2.2) with Next.js.
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 https://github.com/zakiego/nextjs-typescript-tailwindcss-starter with-typescript-tailwindcss-app
or
yarn create next-app --example https://github.com/zakiego/nextjs-typescript-tailwindcss-starter with-typescript-tailwindcss-app
Deploy it to the cloud with Vercel (Documentation).