Unexpected value 'InlineEditorModule' imported by the module

275 Views Asked by At

Anybody had this problem?

Unexpected value 'InlineEditorModule' imported by the module 'AppModule'. in my app.module.ts:

import { InlineEditorModule } from 'ng2-inline-editor';

...
@NgModule({
imports: [InlineEditorModule, ...],
declarations: [...]
`

in my template:

    <inline-editor type="text" [(ngModel)]="editableText" (onSave)="saveEditable($event)" name="editableText1" size="8"></inline-editor>

I installed using npm:

npm i ng2-inline-editor --save

Did I miss anything?

I followed below URL content

https://github.com/Caballerog/ng2-inline-editor

0

There are 0 best solutions below