2

I am using ngx-quill to add quill editor in my angular application. Here is the configuration

app.module.ts

import { QuillModule } from 'ngx-quill';

@NgModule({
    imports:[
      QuillModule.forRoot()
    ]
})

This works fine when i compile my application in JIT and also in development mode. But when I try build AOT

There is this error

ERROR in Error during template compile of 'AppModule'
  Function calls are not supported in decorators but 'QuillModule' was called.        

How can I solve this error and build in AOT using quill module

Shlok Nangia
  • 2,355
  • 3
  • 16
  • 24
Chandan S
  • 143
  • 9

0 Answers0