I defined a dynamic parameter in my router. This parameter receives certain parameter values even if it is dynamic.
example:
{
path: '/:type',
component: List,
}
There are 2 or 3 parameters that the router can take. for example, the parameters it can take are 'actual' and 'archive'
I want to redirect to 404 when the user types a parameter other than '://localhost:8080/actual' or '://localhost:8080/archive'. I can do this in the .vue file, but I want to make adjustments in the router file.