Skip to content

Commit 4e87da6

Browse files
committed
docs(project): updated readme
1 parent bddfa15 commit 4e87da6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,30 +39,30 @@ map: {
3939

4040
Once installed you need to import the main module:
4141
```js
42-
import { LibModule } from 'ngx-material-password-strength';
42+
import { NgxMaterialPasswordStrengthModule } from 'ngx-material-password-strength';
4343
```
4444
The only remaining part is to list the imported module in your application module. The exact method will be slightly
45-
different for the root (top-level) module for which you should end up with the code similar to (notice ` LibModule .forRoot()`):
45+
different for the root (top-level) module for which you should end up with the code similar to (notice ` NgxMaterialPasswordStrengthModule .forRoot()`):
4646
```js
47-
import { LibModule } from 'ngx-material-password-strength';
47+
import { NgxMaterialPasswordStrengthModule } from 'ngx-material-password-strength';
4848

4949
@NgModule({
5050
declarations: [AppComponent, ...],
51-
imports: [LibModule.forRoot(), ...],
51+
imports: [NgxMaterialPasswordStrengthModule.forRoot(), ...],
5252
bootstrap: [AppComponent]
5353
})
5454
export class AppModule {
5555
}
5656
```
5757

58-
Other modules in your application can simply import ` LibModule `:
58+
Other modules in your application can simply import ` NgxMaterialPasswordStrengthModule `:
5959

6060
```js
61-
import { LibModule } from 'ngx-material-password-strength';
61+
import { NgxMaterialPasswordStrengthModule } from 'ngx-material-password-strength';
6262

6363
@NgModule({
6464
declarations: [OtherComponent, ...],
65-
imports: [LibModule, ...],
65+
imports: [NgxMaterialPasswordStrengthModule, ...],
6666
})
6767
export class OtherModule {
6868
}

0 commit comments

Comments
 (0)