Dynamic Pages
In this example:
pages/_slug.vue
shows data coming from the route params.
pages/index.vue
fetches our mountains from our API.
pages/_continent/_mountain.vue
shows the detail page for each mountain in each continent.
Learn more in the Directory Structure book in the pages chapter.
Loading CodeSandbox...