Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 818 Bytes

File metadata and controls

17 lines (10 loc) · 818 Bytes

Next.js + Typescript + Tailwind CSS Example

This example shows how to use Tailwind CSS (v2) with Next.js. It follows the steps outlined in the official Tailwind docs.

It uses the new @tailwindcss/jit engine for Tailwind CSS.

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example https://github.com/hillkim/nextjs-tailwind-typescript-starter my-app
# or
yarn create next-app --example https://github.com/hillkim/nextjs-tailwind-typescript-starter my-app