How To Deploy Your Next.js Project To Vercel - Part 10 Epic Next.js Tutorial for Beginners
Vložit
- čas přidán 9. 05. 2024
- 🚀 How to deploy your Next.js project to Vercel. Checkout the post for code snippets here strp.cc/4bAcDdw
This video covers the final part of our Next.js tutorial with Strapi, where we deploy our frontend project to Vercel.
Don't forget to check the complimentary blog post linked above for all the code snippets you'll need.
Whether you're just catching up or have been with us from the start, this lesson is packed with great tips to help you build your Next.js project.
Project repo on GitHub: strp.cc/49HdLeD
-----------------------------------------------------------------------------------------------------------------------
Resources
------------------------------------------------------------------------------------------------------------------------
Docs: docs.strapi.io/dev-docs
Strapi Events: strp.cc/events
Find help on Discord: strp.cc/discord-events
Find help in our Forum: strp.cc/40EvYp0
------------------------------------------------------------------------------------------------------------------------
Strapi
------------------------------------------------------------------------------------------------------------------------
Get started with Strapi: strapi.io
Strapi Cloud: strapi.io/cloud
Try the live demo: strapi.io/demo
Strapi Blog: strapi.io/blog
Strapi Starter Project: github.com/strapi/nextjs-corp... always, thank you for your continuous support
This was a great tutorial on Strapi with NextJS. I completed up to deployment and confirmed all steps were working until then. After deploying, I noticed my hero section image was still not showing even though i did add the link. I am also unable to do anything after logging in. I get not authenticated when trying to summzrize a link and get logged out on any other links, Do you have any troubleshooting tips for this instance?
I didn't have this issue before deploying and was definitely able to do everything. The error is from my Header.tsx and the error is:
Unhandled Runtime Error
Error: Cannot destructure property 'logoText' of 'data' as it is undefined.
############## MIDDLEWARE ##############
{
ok: false,
data: null,
error: {
status: 401,
name: 'UnauthorizedError',
message: 'Missing or invalid credentials',
details: {}
}
}
/_next/static/chunks/app/not-found.js
############## MIDDLEWARE ##############
This is the last video oF series ?
Yes, this is the last video of the series, but we will make more separate videos around Strapi and Next.js.
@@Strapi Nice now I can start whole series 😂