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 154e269 commit b710b2eCopy full SHA for b710b2e
src/index.js
@@ -150,8 +150,8 @@ export default class VueRouter {
150
}
151
152
function createHref (base: string, fullPath: string, mode) {
153
- var path = mode === 'hash' ? '/#' + fullPath : fullPath
154
- return base ? cleanPath(base + path) : path
+ var path = mode === 'hash' ? '#' + fullPath : fullPath
+ return base ? cleanPath(base + '/' + path) : path
155
156
157
VueRouter.install = install
0 commit comments