Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat(nuxt): allow setting name and path for a route in definePageMeta #8633

Merged
merged 2 commits into from Nov 3, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#15323

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This allows setting custom name/path for a route via definePageMeta. I've also alphabetised this section of the docs.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added the enhancement New feature or request label Nov 2, 2022
@danielroe danielroe requested review from Atinux and pi0 November 2, 2022 15:51
@danielroe danielroe self-assigned this Nov 2, 2022
@codesandbox
Copy link

codesandbox bot commented Nov 2, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Nov 2, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit bad0220
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/6362934921bfa100081efcf9

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks <3

@pi0 pi0 changed the title feat(nuxt): allow setting name/path for a route in definePageMeta feat(nuxt): allow setting name and path for a route in definePageMeta Nov 3, 2022
@pi0 pi0 merged commit 496fa14 into main Nov 3, 2022
@pi0 pi0 deleted the feat/name-path-meta branch November 3, 2022 14:05
@pi0 pi0 mentioned this pull request Nov 3, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Routing - Define custom regex for dynamic page params
3 participants