We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca04d9e commit 787e226Copy full SHA for 787e226
src/directives/link.js
@@ -63,7 +63,7 @@ export default function (Vue) {
63
this.activeRE = path
64
? path === '/'
65
? /^\/$/
66
- : new RegExp('^' + path.replace(regexEscapeRE, '\\$&') + '\\b')
+ : new RegExp('^' + path.replace(regexEscapeRE, '\\$&') + '(\\b|$)')
67
: null
68
this.updateClasses(this.vm.$route.path)
69
let isAbsolute = path.charAt(0) === '/'
0 commit comments