skip to Main Content

Reactjs – Nextjs, Help me solve a URL issue

I just started learning NextJS 13 App route, I'm a bit confused about URLs. enter image description here structure folder: app products [slug] page.tsx components ProductCard.tsx example: // ProductCard.tsx return ( <div> <Link href={`/products/${prod.slug}`} /> </div> ) when click to…

VIEW QUESTION
Back To Top
Search