You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
411 B
17 lines
411 B
# Nesting
|
|
|
|
## Lesson Objectives
|
|
|
|
1. Describe nested routes
|
|
1. Create components for two sub sections
|
|
|
|
## Describe nested routes
|
|
|
|
Sometimes you want to have sub sections within a specific route (routes within routes). We can accomplish this with nested routes.
|
|
|
|
## Create components for two sub sections
|
|
|
|
We're going to split `/about` into `/about/early-life` and `/about/career`.
|
|
|
|
Generate the two components:
|