Skip to content

Commit

Permalink
fix($plugin-blog): read layoutComponents from themeAPI (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkzing authored and ulivz committed Mar 4, 2019
1 parent 760a05e commit 5bf4d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/plugin-blog/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { path, datatypes: { isString }} = require('@vuepress/shared-utils')

module.exports = (options, ctx) => {
const { layoutComponentMap } = ctx
const { themeAPI: { layoutComponentMap }} = ctx
const {
pageEnhancers = [],
postsDir = '_posts',
Expand Down

0 comments on commit 5bf4d24

Please sign in to comment.