How To Use Next.js Image Component – Part 3.1 Epic Next.js Tutorial for Beginners

preview_player
Показать описание


Key Points
- Create a function to get Strapi url from .env variable
- Create a function that will parse Strapi image url path
- Create Strapi Image component to utilize in out application

-----------------------------------------------------------------------------------------------------------------------
Resources
------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
Strapi
------------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

GREAT tutorial series. The rate new concepts are introduced is great, and the code written is future-proof and easily maintainable. It helped me a lot and I'm sure beginners will be able to find great value in it

tastymuffinmm
Автор

I like your friendliness. Thank you for your enthusiasm and thank you for doing this. I'm hoping to build my blog / webapp from this tutorial series and am working through it!

lionroot_tv
Автор

Thank you for the videos! Having a great time learning nextjs and you area a great instructor!

andreezy
Автор

It was throwing error Error: connect ECONNREFUSED ::1:1337 So i used hostname as "127.0.0.1", instead of "localhost" in next.config and getStrapiURL() and it worked.
Possibly the conflict between ipv4 and ipv6 i guess.

SulavDeepUprety
Автор

Once I create the component I got error "There seems to be an unexpected error, try again with --debug for more information"

chetos