Go to file
2022-08-20 22:44:03 +02:00
.cuddle/tmp/v8-compile-cache-1000/10.2.154.13-node.9 added day 2022-08-20 22:31:33 +02:00
public Added graphql 2022-08-20 22:29:54 +02:00
scripts with formatting 2022-08-20 22:44:03 +02:00
src with formatting 2022-08-20 22:44:03 +02:00
.gitignore Added graphql 2022-08-20 22:29:54 +02:00
codegen.yml Added graphql 2022-08-20 22:29:54 +02:00
cuddle.yaml Added hour 2022-08-20 22:41:41 +02:00
graphql.config.yml Added hour 2022-08-20 22:41:41 +02:00
next.config.js Added graphql 2022-08-20 22:29:54 +02:00
package.json with formatting 2022-08-20 22:44:03 +02:00
pnpm-lock.yaml Added graphql 2022-08-20 22:29:54 +02:00
postcss.config.js Added graphql 2022-08-20 22:29:54 +02:00
README.md Added graphql 2022-08-20 22:29:54 +02:00
tailwind.config.js Added graphql 2022-08-20 22:29:54 +02:00
tsconfig.json Added graphql 2022-08-20 22:29:54 +02:00

Next.js + Tailwind CSS Example

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

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

npx create-next-app --example with-tailwindcss with-tailwindcss-app
yarn create next-app --example with-tailwindcss with-tailwindcss-app
pnpm create next-app --example with-tailwindcss with-tailwindcss-app

Deploy it to the cloud with Vercel (Documentation).