-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
after rendering nunjucks files to html, the result files are not well formatted,
i fixed this issue using prettier
const prettier = require('prettier');
........
const res = prettier.format(configure.render(
template.from,
Object.assign(baseContext, template.context),
template.callback ? template.callback : null
), { parser: 'vue', useTabs: true, tabWidth: 4 });not sure if it's a correct fix or not !
Metadata
Metadata
Assignees
Labels
No labels