Absolutely incredible! After tirelessly searching for two days, you've come to my rescue just one day before my project deadline. Thank you immensely, Umair!
Hi, is there a way to just use variables of the page, instead of doing an api request specifically for the metadata? It's so annoying compared to the way dynamic metadata worked in nextjs 12. I was used to just set the tags inside my components, as easy as that. This system is mind blowing. Also I need to call my translation hook, to adapt the meta langage, it seems impossible with this app meta system
There is no code structure level difference in the versions. You can still use the code in my tutorials of nextjs 13 in your projects created in nextjs14. Infact you can update nextjs13 project to nextjs14 in few minutes.
Absolutely incredible! After tirelessly searching for two days, you've come to my rescue just one day before my project deadline. Thank you immensely, Umair!
hey this is possible to create a single function for main layout.ts and with router update all title and description?
how did you use Context API (Category Provider) inside layout without "use client"
Thank you very much!
Hi, How can we set the canonical dynamically?
return {
title: title != 'NULL' ? title : 'Category Products',
description: product.result?.meta_description != 'NULL' ? product.result?.meta_description : 'Category Products',
keywords: keywords,
alternates: {
canonical: canonical,
schemaScripts: schemaScripts
},
}
canonical will be work but do you know any solution for shema scripts?
Hi, is there a way to just use variables of the page, instead of doing an api request specifically for the metadata? It's so annoying compared to the way dynamic metadata worked in nextjs 12. I was used to just set the tags inside my components, as easy as that. This system is mind blowing.
Also I need to call my translation hook, to adapt the meta langage, it seems impossible with this app meta system
Hi @IAMTHEMUSK,
did you find any workaround that uses variables of the page?
Can you show sitemap too
Very helpful thanks
Can you provide the address of the GitHub code in the video?
Make a new playlist Next js 14 from Hello World!
There is no code structure level difference in the versions. You can still use the code in my tutorials of nextjs 13 in your projects created in nextjs14.
Infact you can update nextjs13 project to nextjs14 in few minutes.