Skip to content
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

fix: navigateTo handling #1842

Merged
merged 1 commit into from
Feb 4, 2023
Merged

fix: navigateTo handling #1842

merged 1 commit into from
Feb 4, 2023

Conversation

kazupon
Copy link
Collaborator

@kazupon kazupon commented Feb 4, 2023

πŸ”— Linked issue

❓ 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

If navigateTo is not handled correctly, some redirect-related problems will occur.
(e.g: rootRedirect sometimes does not work correctly)

As the documentation says, we need to do await and return.
https://nuxt.com/docs/api/utils/navigate-to

πŸ“ Checklist

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

@kazupon kazupon merged commit c439ae7 into next Feb 4, 2023
@kazupon kazupon deleted the fix/navigate-to-handling branch February 4, 2023 17:30
@kazupon kazupon mentioned this pull request Feb 10, 2023
DarthGigi pushed a commit to DarthGigi/i18n that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant