Custom handling forward slashes in vue router ids
Custom handling forward slashes in vue router ids I have a use case for needing the id part of a vue route to contain unescaped forward slashes. My current route looks like this: { path: '/browse/:path*', component: browse, name: 'browse', displayName: 'Browse', meta: { title: 'Browse' }, }, So when a user browses to the above url, the browse component is shown. However, i want to use the id part of the path ( :path* ) to contain a nestable fielsystem like path to be consumed by my browse page. :path* For example the url /browse/project/project1 would take me two levels down in my tree to the project1 item. /browse/project/project1 Now, the problem i'm running into is that vue router is escaping my ids (path) when navigating programatically, and my url ends up like this: /browse/project%2Fproject1 . This is non-ideal and does not look nice to the end user. Also, if the user does browse to /browse/project/project1 manually the ap...