A common configuration is this:
{path:'/*', name:'404', component:()=>import('@/views/404.vue')},
This will jump to a vue page, but now I want to jump to a public 404 page outside the site, how do I do it?
Tried this, doesn't work:
{path:'/*', redirect:'http://*.com/404.html'},
The current method is to enter 404.vue first, and then run window.location.href="http://...."
I want to ask the big guys, can you set it directly in the routing table?