首页 > 解决方案 > 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.)

标签: angularcommand-line-interfacepug

解决方案


推荐阅读