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.
nvm use 18
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
.
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.
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!
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.
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