Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.55 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.55 KB

CERN (Next.js + Tailwind Demo)

The 30th anniversary of the web post by CERN could use some improvement. Used this as an opportunity to mess with Tailwind CSS.

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

Notes

This example is a basic starting point for using Tailwind CSS with Next.js. It includes the following PostCSS plugins:

To control the generated stylesheet's filesize, this example uses Tailwind CSS' purge option to remove unused CSS.