downloader/client
Kasper Juul Hermansen 5e6e56c750
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update dependency postcss to v8.4.33
2024-01-04 19:36:01 +00:00
..
.idea Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
pages Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
public Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
styles Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
.gitignore Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
next-env.d.ts Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
package.json Update dependency postcss to v8.4.33 2024-01-04 19:36:01 +00:00
postcss.config.js Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
README.md Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
tailwind.config.js Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
tsconfig.json Add base site, needs clean-up 2021-12-26 00:02:51 +01:00
yarn.lock Update dependency postcss to v8.4.33 2024-01-04 19:36:01 +00: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.

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).