Skip to content

Commit

Permalink
fix($theme-default): use alias for nested SidebarLinks (close #2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 3, 2019
1 parent 4f306b0 commit ceccca3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
components: { DropdownTransition },
// ref: https://vuejs.org/v2/guide/components-edge-cases.html#Circular-References-Between-Components
beforeCreate () {
this.$options.components.SidebarLinks = require('./SidebarLinks.vue').default
this.$options.components.SidebarLinks = require('@theme/components/SidebarLinks.vue').default
},
methods: { isActive }
}
Expand Down

0 comments on commit ceccca3

Please sign in to comment.