Skip to content

Commit 4e8da95

Browse files
committed
feat($core): do not register global components at themePath/components (close: #877)
1 parent 6c6225d commit 4e8da95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/@vuepress/core/lib/prepare/AppContext.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ module.exports = class AppContext {
123123
.use('@vuepress/last-updated', shouldUseLastUpdated)
124124
.use('@vuepress/register-components', {
125125
componentsDir: [
126-
path.resolve(this.sourceDir, '.vuepress/components'),
127-
path.resolve(this.themePath, 'components')
126+
path.resolve(this.sourceDir, '.vuepress/components')
128127
]
129128
})
130129
.apply()

0 commit comments

Comments
 (0)