feat(v2): style up sidebar

This commit is contained in:
Yangshun Tay 2018-10-15 23:04:06 -07:00
parent 0e78eff1a7
commit e0d96a4b38
6 changed files with 69 additions and 45 deletions

View file

@ -7,7 +7,7 @@ module.exports = function loadConfig(siteDir) {
? customThemePath
: path.resolve(__dirname, '../theme');
const themeComponents = ['Docs', 'Pages', 'Loading', 'NotFound', 'Markdown'];
const themeComponents = ['Doc', 'Pages', 'Loading', 'NotFound', 'Markdown'];
themeComponents.forEach(component => {
if (!require.resolve(path.join(themePath, component))) {
throw new Error(