Skip to content

Commit 5bf4d24

Browse files
jkzingulivz
authored andcommitted
fix($plugin-blog): read layoutComponents from themeAPI (#1396)
1 parent 760a05e commit 5bf4d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/plugin-blog/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { path, datatypes: { isString }} = require('@vuepress/shared-utils')
22

33
module.exports = (options, ctx) => {
4-
const { layoutComponentMap } = ctx
4+
const { themeAPI: { layoutComponentMap }} = ctx
55
const {
66
pageEnhancers = [],
77
postsDir = '_posts',

0 commit comments

Comments
 (0)