angular - Angular 12 CLI 是支持 pug 模板的有效解决方案吗?
问题描述
是否有足够的解决方案来支持 Angular cli 12 的 .pug 模板?
ng-cli-pug-loader 它不起作用并给出错误
Error: src/app/app.component.pug:26:2 - error NG5002: Unexpected character "EOF" (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)
解决方案
推荐阅读
- logging - 使用 CAPL 将时间戳重置为零
- typescript - Typescript - 当参数是联合时,从参数属性继承返回类型
- python - 返回比较中较大的值
- replace - SQLDeveloper 导入多个存储过程或全局替换
- xml - 可以有不同子节点的 XSLT 格式 XML
- c - 相同尺寸类型的 C 联合效率
- javascript - Javascript 搜索数组列表的数组
- java - ProGuard 阻止构造函数
- flutter - Flutter,我如何设置具有灵活高度且最大高度为 300 的项目列表的高度?
- powershell - Powershell 和 MailKit - 脚本失败