mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
fix(docs): md files to text conversion
This commit is contained in:
parent
7e782074ad
commit
d9549ea1c3
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ export class NgxStructureService {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue