Skip to content

Commit

Permalink
fix: specify global compoennts directory since alpha.6 has removed it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Oct 7, 2018
1 parent c681bbd commit 9d6c672
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
const path = require('path')

module.exports = {
plugins: [
'@vuepress/blog',
'@vuepress/pagination',
['@vuepress/search', {
[
'@vuepress/search', {
searchMaxSuggestions: 10
}],
[
'@vuepress/register-components', {
componentsDir: [
path.resolve(this.sourceDir, '.vuepress/components')
]
}]
]
}

0 comments on commit 9d6c672

Please # to comment.