I have this route /test/a-vs-b
I am trying to catch this route only if -vs-
is found in it.
I tried a few regex variants, but nothing seems to work
routes.push({
name: 'test',
path: '/test/:page((.*)-vs-(.*))',
component: resolve(__dirname, 'test/b.vue'),
});
Any ideas?