[Vuejs]-Vue router path – How use regex to check if URL path contain a substring?

0πŸ‘

βœ…

The NUXT/vue route is using path-to-regex modules, so I have to go through their documentation and evenually I found the solution as below:

path: '/*/:brand(.*br_.*)'

Leave a comment