diff --git a/docs/en/UI/Angular/Account-Module.md b/docs/en/UI/Angular/Account-Module.md index d3934ab18b..28852f6b4d 100644 --- a/docs/en/UI/Angular/Account-Module.md +++ b/docs/en/UI/Angular/Account-Module.md @@ -61,16 +61,23 @@ npm install @volo/abp.ng.account Open the `app.module.ts` and add `AccountPublicConfigModule.forRoot()` to the imports array as shown below: +> Ensure that the `Account Layout Module` has been added if you are using the Lepton X theme. If you miss the step, you will get an error message that says `Account layout not found. Please check your configuration. If you are using LeptonX, please make sure you have added "AccountLayoutModule.forRoot()" to your app.module configuration.` when you try to access the account pages. Otherwise, you can skip adding the `AccountLayoutModule` step. + + ```js // app.module.ts import { AccountPublicConfigModule } from '@volo/abp.ng.account/public/config'; +// if you are using or want to use Lepton X, you should add AccountLayoutModule +// import { AccountLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/account' + //... @NgModule({ imports: [ //... - AccountPublicConfigModule.forRoot() + AccountPublicConfigModule.forRoot(), + // AccountLayoutModule.forRoot() // Only for Lepton X ], //... })