When I click on a link in my /index.js, it brings me to /about.js page.
/index.js
/about.js
However, when I\'m passing parameter name through URL (like
Get it by using the below code in the about.js page:
// pages/about.js import Link from 'next/link' export default ({ url: { query: { name } } }) => ( Welcome to About! { name } )
Welcome to About! { name }