Open Closed

Customizing Angular Templates has no effect #2073


User avatar
0
MILLENNIUM created

Customizing Angular Templates:

  • ABP Framework version: v4.4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: No Exception, no log
  • Steps to reproduce the issue:"

I edited the tempates in abp suite then created Entity using (CRUD Page Generator) in abp suite everything is generated but ignored my custom templates in angular (in backend host, changes are made successfully) All generated code are being done using the default templates! I made sure that there is no (Outdated) templates And there is no error in termninal console

Please support Thank you


6 Answer(s)
  • User Avatar
    0
    bunyamin created

    Hello,

    Which files did you edit?

  • User Avatar
    0
    MILLENNIUM created

    Templates: Frontend.Angular.__ name @ kebab__.module.ts.template Frontend.Angular.__ name @ kebab__.component.html.template Frontend.Angular.__ name @ kebab__.component.ts.template

  • User Avatar
    0
    MILLENNIUM created

    I I mentioned: Templates: Frontend.Angular.__ name @ kebab__.module.ts.template Frontend.Angular.__ name @ kebab__.component.html.template Frontend.Angular.__ name @ kebab__.component.ts.template

    Please ASAP Thank you very much

    Hello,

    Which files did you edit?

  • User Avatar
    0
    bunyamin created

    I've just tested it, and it works just fine. When I edit any template, suite puts new template within the .suite/customized-templates folder. Make sure that the edited template exists in this folder.

  • User Avatar
    0
    MILLENNIUM created

    It is exisit there but did work!

    I reEdited the same template and add some text and retried, still the same problem , and the template file on hard disk you mentioned is changed

    so the issue is still open

  • User Avatar
    0
    bunyamin created

    I've tried this again with version 4.4.3 on a windows machine. It works just fine. Could you provide more information about your setup so that I try to reproduce the problem? So far, it worked for me on both Mac and Windows machines.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11