From ac58f13665130710a00232c220a869ec41393702 Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Tue, 17 Jan 2023 17:36:51 +0300 Subject: [PATCH 1/2] Add Account Layout Module step on account-module.md --- docs/en/UI/Angular/Account-Module.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/en/UI/Angular/Account-Module.md b/docs/en/UI/Angular/Account-Module.md index d3934ab18b..109dc9497d 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 `AccountLayoutModule` step. + + ```js // app.module.ts import { AccountPublicConfigModule } from '@volo/abp.ng.account/public/config'; +// if you are using Lepton X and want to use 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 ], //... }) From c08ad63e61b1b80e99fd5af1b64f3a7610bcda9a Mon Sep 17 00:00:00 2001 From: Hamza Albreem <94292623+braim23@users.noreply.github.com> Date: Wed, 18 Jan 2023 12:12:38 +0300 Subject: [PATCH 2/2] Tiny fix for the Account-Module doc --- docs/en/UI/Angular/Account-Module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/UI/Angular/Account-Module.md b/docs/en/UI/Angular/Account-Module.md index 109dc9497d..28852f6b4d 100644 --- a/docs/en/UI/Angular/Account-Module.md +++ b/docs/en/UI/Angular/Account-Module.md @@ -61,14 +61,14 @@ 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 `AccountLayoutModule` step. +> 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 Lepton X and want to use you should add AccountLayoutModule +// if you are using or want to use Lepton X, you should add AccountLayoutModule // import { AccountLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/account' //...