rsnext/examples/with-tailwindcss
2021-01-28 23:34:03 +00:00
..
pages Update docs and Create Next App to use API Middlewares by default. (#21639) 2021-01-28 23:34:03 +00:00
public Bring Tailwind CSS example in line with official Tailwind docs (#19750) 2021-01-25 14:20:14 +01:00
styles Bring Tailwind CSS example in line with official Tailwind docs (#19750) 2021-01-25 14:20:14 +01:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
package.json Update dependencies of with-tailwindcss example (#21517) 2021-01-25 12:10:32 -05:00
postcss.config.js Bring Tailwind CSS example in line with official Tailwind docs (#19750) 2021-01-25 14:20:14 +01:00
README.md Bring Tailwind CSS example in line with official Tailwind docs (#19750) 2021-01-25 14:20:14 +01:00
tailwind.config.js Bring Tailwind CSS example in line with official Tailwind docs (#19750) 2021-01-25 14:20:14 +01:00

Next.js + Tailwind CSS Example

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

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