Skip to content

Commit ceccca3

Browse files
committed
fix($theme-default): use alias for nested SidebarLinks (close #2049)
1 parent 4f306b0 commit ceccca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/theme-default/components/SidebarGroup.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
components: { DropdownTransition },
6464
// ref: https://vuejs.org/v2/guide/components-edge-cases.html#Circular-References-Between-Components
6565
beforeCreate () {
66-
this.$options.components.SidebarLinks = require('./SidebarLinks.vue').default
66+
this.$options.components.SidebarLinks = require('@theme/components/SidebarLinks.vue').default
6767
},
6868
methods: { isActive }
6969
}

0 commit comments

Comments
 (0)