Skip to content

Commit 9b80e9f

Browse files
committed
fix: To have the relative path evaluated also if the link needs to be not compiled.
1 parent 38aa1a4 commit 9b80e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/render/compiler/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const linkCompiler = ({
3333
attrs.push(`target="${linkTarget}"`);
3434
}
3535
} else {
36-
if (!isAbsolute && !isNotCompilable && href.startsWith('./')) {
36+
if (!isAbsolute && href.startsWith('./')) {
3737
href = router
3838
.toURL(href, null, router.getCurrentPath())
3939
.replace(/^#\//, '/');

0 commit comments

Comments
 (0)