Define dynamic route parameters in Neru
Use the
[param] syntax in route filenames or directory names to capture dynamic segments of a URL. For example, a file named [id].js inside a posts/ directory will match URLs like /post/1 or /post/2, capturing the value as the id parameter.posts/
[id].js