Thank you! I used Next.js 3 month ago, of couse, I fogot how to do it. Your video help me again, thanks a lot😍
@codemarns2 ай бұрын
My pleasure!
@Samuellucas2434 ай бұрын
thank you brown!
@codemarns2 ай бұрын
You're welcome!
@GABRIELDOBT9 ай бұрын
thank you ! 👏👏👏👏👏
@heitorwirmond42749 ай бұрын
I have a project with front and backend in different projects how can I host in github pages?
@kylepaulmcfly Жыл бұрын
Im getting an error headers not defined in the build log in github pages
@codemarns Жыл бұрын
Can you shoot me a screenshot so I can check what the issue is?
@kylepaulmcfly Жыл бұрын
@@codemarns I got it now. I just changed the node version in the yml file and it successfully deployed. But my problem now is that the images won't load when deployed in gh pages
@codemarns Жыл бұрын
There are lots of scenarios we need to consider when using Next.js. One of those is the image. And there are lots of options you can do. What I did is that, I optimize or compress big file images and remove the slash in the path. For example, Profile.png is located in your public folder. So, remove the slash, and it will work. See this example I made a while ago, codemarns.github.io/next-app-tutorial I rendered 62 big images and it works. I hope I made your way brighter. Thank you!
@kylepaulmcfly Жыл бұрын
@@codemarns This worked. Thanks. I just removed the slashes.
@codemarns Жыл бұрын
Great to hear that!
@sayyad_faiz_ali Жыл бұрын
how can I contact you to fix my problem related to deploying the nextjs project into github
@codemarns11 ай бұрын
Hi, sorry for late response. I was busy this past few months. I would like to ask if your issue are now fixed? If not, let's get into it.
@sayyad_faiz_ali Жыл бұрын
Thank you bro
@codemarns11 ай бұрын
No problem. But please don't hesitate to contact me again. Apologies for inconvenience.