Scrum / vue-2-breadcrumbs

Vue breadcrumbs
MIT License
98 stars 20 forks source link

Path is incorrect when route path contains regexp 🐛 #116

Open dastiw1 opened 3 years ago

dastiw1 commented 3 years ago

My route is defined like this:

{
            path: ':catId/:id(new|\\d+)',
            name: 'EntityCreate',
            component: EntityManualCU,
            meta: {
              breadcrumb: 'Send Entity',
            },
          },

In breadcrumb route path generated as http://localhost:8080/entities/2/new(new%7C/d+)

Scrum commented 3 years ago

@dastiw1 Thanks, I will try to resolve this shortly. If you have a solution, I'd love to consider it.