我正在使用 ngx-quill 在我的 Angular 应用程序中添加 quill 编辑器。这是配置
app.module.ts
import { QuillModule } from 'ngx-quill';
@NgModule({
imports:[
QuillModule.forRoot()
]
})
当我在 JIT 和开发模式下编译我的应用程序时,这工作正常。但是当我尝试构建 AOT
有这个错误
ERROR in Error during template compile of 'AppModule'
Function calls are not supported in decorators but 'QuillModule' was called.
如何解决此错误并使用 quill 模块构建 AOT