From the course: The Freelance Stack: Real Project with Next.js and Strapi
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Fetch InfoBlock data on Strapi - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Fetch InfoBlock data on Strapi
So, in the last section, when we started filling in the content to Strapi, I actually said that the most exciting part of the project is that. But I actually want to correct myself, because I think what we're going to do now is the most exciting thing, which at times to me seems a little bit like magic, makes it really nice in my opinion to work with this stack, which is actually creating the UI components from the data that is now coming back from Strapi, which is what we're going to do in this video. There's just one thing we have to do before and I mean we don't even have to do it But I made a small mistake and I would just rather Fix it before we move on because we're going to now start consuming all the data from Strapi or the data from Strapi So I just want to make sure everything is set up properly The thing that I'm talking about that I messed up is in the content type Right here when we build the Infoblock experience. I actually named the API endpoint Infoblock experience…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Creating InfoBlock content type on Strapi14m 57s
-
(Locked)
Use single content type in Strapi to create InfoBlocks per page17m 33s
-
(Locked)
Fetch InfoBlock data on Strapi8m 27s
-
(Locked)
Fetch data from Strapi and process it16m 57s
-
(Locked)
Render InfoBlocks on page9m 20s
-
(Locked)
Create button from InfoBlock Strapi data on page7m 13s
-
(Locked)
Render InfoBlocks on experience page4m 45s
-
(Locked)
-
-
-
-
-