Go to file
kjuulh 1a20fe068f
Some checks failed
continuous-integration/drone/push Build is failing
with ssh
2022-08-21 16:32:15 +02:00
.cuddle/tmp generated graphql 2022-08-21 00:44:36 +02:00
public Added graphql 2022-08-20 22:29:54 +02:00
scripts with parallel 2022-08-21 00:42:23 +02:00
src generated graphql 2022-08-21 00:44:36 +02:00
templates with more ignores 2022-08-21 16:26:51 +02:00
.drone.yml with ssh 2022-08-21 16:32:15 +02:00
.gitignore Added graphql 2022-08-20 22:29:54 +02:00
.releaserc.yml with releaserc.yml 2022-08-21 16:25:56 +02:00
codegen.yml Added graphql 2022-08-20 22:29:54 +02:00
cuddle.yaml with push release 2022-08-20 23:52:20 +02:00
graphql.config.yml Added hour 2022-08-20 22:41:41 +02:00
next.config.js added drone 2022-08-20 23:39:36 +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).