Go to file
Kasper Juul Hermansen fd1c035107
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
chore(deps): update all dependencies
2024-11-20 01:10:36 +00:00
.cuddle/tmp chore(deps): update all dependencies 2024-11-20 01:10:36 +00: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 chore(deps): update all dependencies 2024-11-20 01:10:36 +00:00
.drone.yml set url 2022-08-21 16:32:54 +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
CHANGELOG.md chore(release): 1.0.0 [skip ci] 2022-08-21 14:35:59 +00: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 chore(deps): update all dependencies 2024-11-20 01:10:36 +00:00
pnpm-lock.yaml chore(deps): update all dependencies 2024-11-20 01:10:36 +00: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
renovate.json chore(deps): add renovate.json 2022-10-25 20:43:56 +00: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).