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: redirectedFrom not exists in useRoute() #777

Open
buglavecz opened this issue Sep 21, 2023 · 0 comments
Open

fix: redirectedFrom not exists in useRoute() #777

buglavecz opened this issue Sep 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@buglavecz
Copy link

πŸ› The bug
The redirectedFrom prop doesn't exists in useRoute().

πŸ› οΈ To reproduce
Steps to reproduce the behavior:

  1. Go to a nuxt page and click to an another nuxt page with compontent.
const route = useRoute();
const redirectedFrom = computed(() => route.value.redirectedFrom);
console.log(redirectedFrom.value); // undefined

Thanks.

@buglavecz buglavecz added the bug Something isn't working label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants