Closed taojunnan closed 4 years ago
I know the reason
const { path } = require('@vuepress/shared-utils')
module.exports = (options) => ({
extendPageData ($page) {
const {
_content
} = $page
$page.content = _content
},
alias: {
'@SearchBox':
path.resolve(__dirname, 'SearchBox.vue')
},
})
this repo
my project vuepress: ^1.2.0