Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants