Routing Manage dynamic routing and links in Next.js

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access

OR


*Enrollment provides full access to this course (and updates) for life.

Routes

Create the following routes.

  • /enter
  • /[username]
  • /[username]/[slug]
  • /admin
  • /admin/[slug]

VS Code Component Snippet

Add your own VS Code snippets

file_type_config user-snippets.json
{

	"component": {
		"scope": "javascript,typescript",
		"prefix": "next-page",
		"body": [
			"export default function Page({ }) {",
			"  return (",
			"    <main>",
			"    </main>",
			"  )",  
			"}",
		],
		"description": "React component"
	}
}

Questions?

Ask questions via GitHub below OR chat on Slack #questions