Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.69 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.69 KB

Before We Start

Goals of this Project

  • Understand how Sanity.io works as a backend service
  • Understand how Next.js handles Server Side Rendering
  • Learn how to use Content-as-API
  • Bring what I learned to my personal website and blog!

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