New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(nuxt): support trailingSlashBehavior
in defineNuxtLink
#19458
feat(nuxt): support trailingSlashBehavior
in defineNuxtLink
#19458
Conversation
Β Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
@danielroe Daniel, could you confirm those failures are related to PR changes? It seems unrelated to me. |
@alex-key you might have to update the test as the default size of the nuxt application increased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM π
Pushed suggested fixes so far |
@alex-key have you pushed all of your changes so far? |
Yes, done |
Co-authored-by: Alexander Lichter <github@lichter.io>
trailingSlashBehavior
to defineNuxtLink
options
trailingSlashBehavior
to defineNuxtLink
optionstrailingSlashBehavior
in defineNuxtLink
π Linked issue
resolves #18806
β Type of change
π Description
Add a new option
trailingSlashBehavior
to options indefineNuxtLink
. Using it user can define his own component like<MyNuxtLink />
and either force always trailing slash or force no-slash for all internal urls.Resolves #18806
π Checklist