downloader/client
Kasper Juul Hermansen e890016871
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build encountered an error
Update dependency postcss to v8.4.35
2024-02-07 15:52:07 +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.35 2024-02-07 15:52:07 +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.35 2024-02-07 15:52:07 +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).