Static GitHub Issues

[2966] how to redirect in server side ?

prev: I want to add the vue-router meta tag to generate breadcrumbs for the page and not find the configuration item
next: How to handle route param updates

for example, I dispatch action in fetch method and send ajax in action. what should I do if I want to redirect to 'login' according to the ajax response?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2573">#c2573</a>)</em></sub></div>