mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-27 22:25:54 +10:00
1. Refine ExtendPageDataOption, simplify the implmentation 2. Introduce LayoutDistributor as the unique route layout entry 3. Inject layout components to LayoutDistributor 4. Register layout components located at themedir/layouts 5. Reorganize the default theme's structure
10 lines
146 B
JavaScript
10 lines
146 B
JavaScript
const themePlugin = require('./plugin')
|
|
|
|
// Theme API.
|
|
module.exports = {
|
|
plugins: [
|
|
themePlugin,
|
|
'@vuepress/active-header-links'
|
|
]
|
|
}
|