next-sanity-tailwind-demo Tailwind Templates

Next Sanity Tailwind Demo

Personal Website Tutorial with Next.js 13, Sanity.io, TailwindCSS, and TypeScript

next-sanity-tailwind-demo

šŸš€ Personal Website Tutorial with Next.js 13, Sanity.io, TailwindCSS, and TypeScript and React 18 šŸš€

https://github.com/coding-to-music/next-sanity-tailwind-demo

https://next-sanity-tailwind-demo.vercel.app

From / By Kapehe Sevilleja https://github.com/kapehe-ok/next-sanity-test

šŸ’» Code: https://github.com/kapehe-ok/next-sanity-test

Demo app: https://next-sanity-test-taupe.vercel.app

https://www.youtube.com/watch?v=OcTPaUfay5I&ab_channel=freeCodeCamp.org

115,770 views Apr 5, 2023

Learn how to build a personal website with Next.js 13 for the frontend and Sanity.io as the content backend. You will also be introduced to TailwindCSS for styling and TypeScript for type safety and improved developer experience. By the end of this tutorial, you will have a fully functioning, deployed personal website that you can continue building on.

āœļø Kapehe Sevilleja developed this course.

Node Environment:

nvm use 18

Environment variables:


GitHub

git init
git add .
git remote remove origin
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:coding-to-music/next-sanity-tailwind-demo.git
git push -u origin main

https://www.youtube.com/watch?v=OcTPaUfay5I&ab_channel=freeCodeCamp.org

115,770 views Apr 5, 2023

Learn how to build a personal website with Next.js 13 for the frontend and Sanity.io as the content backend. You will also be introduced to TailwindCSS for styling and TypeScript for type safety and improved developer experience. By the end of this tutorial, you will have a fully functioning, deployed personal website that you can continue building on.

āœļø Kapehe Sevilleja developed this course.

šŸ’» Code: https://github.com/kapehe-ok/next-sanity-test Demo app: https://next-sanity-test-taupe.vercel.app šŸ”— Boosted free plan with Sanity.io: https://www.sanity.io/youtube

šŸ”— Next.js links: https://nextjs.org/docs & https://nextjs.org/blog/discord šŸ”— Sanity.io links: https://www.sanity.io/docs & https://slack.sanity.io/ šŸ”— TailwindCSS: https://tailwindcss.com/docs/installa... šŸ”— TypeScript: https://www.typescriptlang.org/ šŸ”— Kapehe's Twitter: https://twitter.com/kapehe_ok

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

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.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

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.

Update npm packages

ncu

ncu -u

yarn install
 @portabletext/react    ^2.0.2  →    ^3.0.4
 @types/node           18.15.0  →    20.5.0
 @types/react          18.0.28  →   18.2.20
 @types/react-dom      18.0.11  →    18.2.7
 autoprefixer         ^10.4.14  →  ^10.4.15
 eslint                 8.35.0  →    8.47.0
 eslint-config-next     13.2.3  →   13.4.17
 next                   13.2.3  →   13.4.17
 next-sanity            ^4.1.5  →    ^5.4.1
 postcss               ^8.4.21  →   ^8.4.28
 sanity                 ^3.6.0  →   ^3.15.1
 tailwindcss            ^3.2.7  →    ^3.3.3
 typescript              4.9.5  →     5.1.6

Top categories

Loading Svelte Themes