Starts in:
2 DAYS
4 HRS
21 MIN
14 SEC
Starts in:
2 D
4 H
21 M
14 S
Open Closed

Account layout not found #4364


User avatar
0
464199480 created

The angular ui opens the login screen to display blank content

  • ABP Framework version: 7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
    1. generate app project abp new Acme.BookStore -u angular
    1. run angular project
    1. navigation to http://localhost:4200/account/login

2 Answer(s)
  • User Avatar
    2
    mahmut.gundogdu created

    If you are using Resource Owner Password Flow, the Account module should be added to your project.

    https://docs.abp.io/en/abp/latest/UI/Angular/Account-Module

    If you're using Lepton X, you might have forgotten to add the "AccountLayoutModule" to your app.module.ts. When you miss the step, console throw an error like that

    // app.module.ts
    import { AccountLayoutModule} from '@volosoft/abp.ng.theme.lepton-x/account'
    
    @NgModule({
     // ...
      imports: [
     // ...
        AccountLayoutModule.forRoot(),
        // ...
      ],
    // ...
    })
    export class AppModule {}
    
    

    if you are using a backend-based Auth-flow, the Auth server must be accessible.

  • User Avatar
    0
    464199480 created

    Yes. i using Lepton X. I have been able to work normally Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06