Browse Source

Merge pull request #15438 from abpframework/update-docs/add-lepton-x-account-layout-module

[DOC] Add Account Layout Module step on account-module.md
pull/15450/head
Mahmut Gundogdu 3 years ago
committed by GitHub
parent
commit
8a26396357
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      docs/en/UI/Angular/Account-Module.md

9
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
],
//...
})

Loading…
Cancel
Save