How to redirect a VueJS SPA to an external URL?

I added this to _redirects file

/en/ranges/rikr https://shop.groundtruth.global/collections/all 301!

which according to your documentation below should force the redirection

but it is still not redirecting to my shopify store, why is that?

Also I edited the vuejs router

{ title: 'Shop', path: '/en/ranges/rikr', beforeEnter () { window.open('https://shop.groundtruth.global/collections/all')} },

it’s not redirecting either. If you refresh, it does redirect but not on click.

I’d assume it’s because of the SPA. The pages are probably loaded by JS on click and thus, Netlify can’t redirect such URLs. However, just to be sure, it would be better if we can get the URL of your website in question to test.