Go to file
kjuulh 0b23975d7c
All checks were successful
continuous-integration/drone/push Build is passing
start deployments before
2022-08-20 23:45:19 +02:00
.cuddle/tmp with deployments 2022-08-20 23:44:46 +02:00
public Added graphql 2022-08-20 22:29:54 +02:00
scripts added drone 2022-08-20 23:39:36 +02:00
src with formatting 2022-08-20 22:44:03 +02:00
templates added drone 2022-08-20 23:39:36 +02:00
.drone.yml start deployments before 2022-08-20 23:45:19 +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 with deployments 2022-08-20 23:44:46 +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).