Open Closed

How to add new Abp module in existing Abp app-pro template? #4295


User avatar
0
yim.tim created

I would like to add new Abp module into the existing Abp app-pro to separate the business logic. I cannot found the procedure in the web and I execute abp create abp module into the existing App application (which created before using app-pro template).

How to add an new Abp module to existing Angular in app-pro template without impact existing changes?

The following is the file difference found.

The following is the procedure I tried.

  1. Execute the command "abp new DNS --with-source-code --template app-pro --ui angular --separate-identity-server --theme leptonx-lite -database-provider ef --mobile react-native --database-management-system SqlServer --no-random-port" in project working folder "D:\DNS"
  2. Execute the command "abp new CRS --with-source-code --template module --add-to-solution-file" in project working folder "D:\DNS"
  3. angular/angular.json and angular/package.json change are override.
  • ABP Framework version: v6.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Both app-pro and module may contain angular directory. You should use different folders for them.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yim.tim created

    Ok, I have created a existing Abp web project with Abp multi-tier and Angular web.

    I would like to add an new Abp module to the above existing created Abp web project? How can I do it? any procedure can provide?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can create a modules folder in your existing project. Add new modules source in it.

    same with abp get-source

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.