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

Adding redirect property in definePageMeta doesn't work unless server is restarted again #26932

Open
devmadhavv opened this issue Apr 25, 2024 · 1 comment

Comments

@devmadhavv
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v20.11.1
  • Nuxt Version: 3.10.1
  • CLI Version: 3.11.1
  • Nitro Version: 2.8.1
  • Package Manager: pnpm@8.15.6
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-starter-pyjuty?file=pages%2F%5B...slug%5D.vue

Describe the bug

Adding or updating manually the redirect property in definePageMeta in a page doesn't work unless server hasn't been stopped and restarted again.

Additional context

No response

Logs

No response

Copy link

stackblitz bot commented Apr 25, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant