composition-api icon indicating copy to clipboard operation
composition-api copied to clipboard

fix: `redirectedFrom` not exists in `useRoute()`

Open buglavecz opened this issue 1 year ago • 0 comments

🐛 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 avatar Sep 21 '23 07:09 buglavecz