This repository has been archived on 2024-09-22. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Filipe Medeiros a92cafff92 feat: :(
2021-11-27 04:34:37 +00:00
.husky Initial commit 2021-11-21 12:24:18 +00:00
.vscode Initial commit 2021-11-21 12:24:18 +00:00
_templates feat: :( 2021-11-27 04:34:37 +00:00
components feat: :( 2021-11-27 04:34:37 +00:00
externalTypes chore: refactor 2021-11-26 12:19:51 +00:00
lib feat: :( 2021-11-27 04:34:37 +00:00
pages feat: :( 2021-11-27 04:34:37 +00:00
public feat: wowza 2021-11-24 22:26:15 +00:00
styles wowza 2021-11-22 17:07:55 +00:00
.eslintrc.json Initial commit 2021-11-21 12:24:18 +00:00
.gitignore Initial commit 2021-11-21 12:24:18 +00:00
.lintstagedrc.json Initial commit 2021-11-21 12:24:18 +00:00
.prettierignore Initial commit 2021-11-21 12:24:18 +00:00
.prettierrc Initial commit 2021-11-21 12:24:18 +00:00
next-env.d.ts Initial commit 2021-11-21 12:24:18 +00:00
package.json feat: :( 2021-11-27 04:34:37 +00:00
postcss.config.js Initial commit 2021-11-21 12:24:18 +00:00
README.md Initial commit 2021-11-21 12:24:18 +00:00
seeds.json feat: :( 2021-11-27 04:34:37 +00:00
tailwind.config.js wowza 2021-11-22 17:07:55 +00:00
tsconfig.json Initial commit 2021-11-21 12:24:18 +00:00
yarn.lock chore: refactor 2021-11-26 12:19:51 +00:00

Next.js + Tailwind CSS Example

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

It uses the new Just-in-Time Mode for Tailwind CSS.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

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

Deploy it to the cloud with Vercel (Documentation).