Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geromegrignon authored Dec 7, 2023
1 parent dc2355e commit 8564447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ Following open/closed principle, the library focuses on the switch mechanism, gi
> The project is now using the Angular Standalone API and support SSR.
> It requires Angular 16+
Imports the **EditableComponent**, **EditModeDirective** and **EditModeDirective** in the ìmports array of your **NgModule** or your standalone**Component**:
Imports the **EditableComponent**, **EditModeDirective** and **ViewModeDirective** in the ìmports array of your **NgModule** or your standalone**Component**:

```typescript
import { EditableComponent, EditModeDirective, EditModeDirective } from '@ngneat/edit-in-place';
import { EditableComponent, EditModeDirective, ViewModeDirective } from '@ngneat/edit-in-place';

@NgModule({
...
standalone: true,
imports: [EditableComponent, EditModeDirective, EditModeDirective],
imports: [EditableComponent, EditModeDirective, ViewModeDirective],
})
export class AppComponent {}
```
Expand Down

0 comments on commit 8564447

Please sign in to comment.