Skip to content

Commit

Permalink
feat($core): do not register global components at themePath/components (
Browse files Browse the repository at this point in the history
close: #877)
  • Loading branch information
ulivz committed Sep 28, 2018
1 parent 6c6225d commit 4e8da95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@vuepress/core/lib/prepare/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ module.exports = class AppContext {
.use('@vuepress/last-updated', shouldUseLastUpdated)
.use('@vuepress/register-components', {
componentsDir: [
path.resolve(this.sourceDir, '.vuepress/components'),
path.resolve(this.themePath, 'components')
path.resolve(this.sourceDir, '.vuepress/components')
]
})
.apply()
Expand Down

0 comments on commit 4e8da95

Please sign in to comment.