Can we "compile" a path without using path-to-regexp #2501
-
| 
         I wonder what is the best way to, for example, to compile a path and params ( compilePath('/users/:id', { id: 5 }) // /users/5I want to do it for external paths (that are not defined as a route in vue-router). We are currently using  Can we use some functions exposed by   | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
| 
         They won’t be exposed but you can copy the code needed into your project, it’s under the same MIT license  | 
  
Beta Was this translation helpful? Give feedback.
They won’t be exposed but you can copy the code needed into your project, it’s under the same MIT license