This repository has been archived on 2026-06-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 94.5%
  • JavaScript 2.9%
  • CSS 2.6%
Find a file
2022-06-21 23:25:22 +02:00
components Fixed navigation 2022-06-18 14:58:41 +02:00
lib Add projects 2022-06-18 12:58:16 +02:00
pages Fixed navigation 2022-06-18 14:58:41 +02:00
projects Added smart documentation system cover art 2022-06-21 23:25:22 +02:00
public Added new art 2022-06-18 13:11:54 +02:00
styles Fixed navigation 2022-06-18 14:58:41 +02:00
.eslintrc.json Prettier 2022-04-12 17:01:51 +02:00
.gitignore NextJS! 2022-04-11 17:52:30 +02:00
.prettierignore Prettier 2022-04-12 17:01:51 +02:00
.prettierrc.json Prettier 2022-04-12 17:01:51 +02:00
netlify.toml Netlify deploy fix 2022-04-11 17:55:03 +02:00
next-env.d.ts NextJS! 2022-04-11 17:52:30 +02:00
next.config.js Prettier 2022-04-12 17:01:51 +02:00
package.json Fixed navigation 2022-06-18 14:58:41 +02:00
postcss.config.js Prettier 2022-04-12 17:01:51 +02:00
prettier.config.js Prettier 2022-04-12 17:01:51 +02:00
README.md NextJS! 2022-04-11 17:52:30 +02:00
tailwind.config.js Fixed navigation 2022-06-18 14:58:41 +02:00
tsconfig.json NextJS! 2022-04-11 17:52:30 +02:00
yarn.lock Fixed navigation 2022-06-18 14:58:41 +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 or Yarn to bootstrap the example:

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

Deploy it to the cloud with Vercel (Documentation).