fix(docs): md files to text conversion

This commit is contained in:
Evgeny Lupanov 2020-03-26 10:06:53 +03:00 committed by Sergey Andrievskiy
parent ed87a7e5d5
commit 49744cf984

View file

@ -56,7 +56,8 @@ export class NgxStructureService {
} }
if (item.block === 'markdown') { if (item.block === 'markdown') {
item.children = this.textService.mdToSectionsHTML(require(`raw-loader!../../../articles/${item.source}`)); item.children = this.textService.mdToSectionsHTML(
require(`raw-loader!../../../articles/${item.source}`).default);
} }
if (item.children) { if (item.children) {