underscore-template-loader icon indicating copy to clipboard operation
underscore-template-loader copied to clipboard

Cannot output a value that is not escaped to the template

Open zhongzihao-world opened this issue 7 years ago • 1 comments

Hello, I am having some problems with this loader. I need to output unescaped data in this div, but it always bothers me for a long time. We look forward to your reply. code snippet: `

` errors: `errors: Template execution failed: ReferenceError: _ is not defined `

zhongzihao-world avatar Jul 31 '18 07:07 zhongzihao-world

Add this to options of loader

{
...
engine: 'lodash',
}

Kolobok12309 avatar Nov 18 '19 08:11 Kolobok12309