samueldanso / nextjs-sanity-example

Nextjs 13 blog with Tailwind and Sanity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog with Nextjs 13 and Sanity

This is a minimalist blog created with Nextjs 13 App router, TailwindCSS and Sanity

blog

Getting Started

First, clone the repository:

 git clone https://github.com/samueldanso/nextjs-tailwindcss-sanity-blog.git

Second, Change into the directory and install dependencies:

 cd next-tailwindcss-sanity-blog

 npm install # or yarn install or pnpm install

Commands you will need

npm install -D @tailwindcss/typography
npm install @portabletext/react @sanity/image-url next-sanity next-themes


Lastly, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Nextjs 13 blog with Tailwind and Sanity


Languages

Language:TypeScript 91.3%Language:JavaScript 8.1%Language:CSS 0.6%