Open Closed

Can not see config web build source Angular #1595


User avatar
0
thaithiendi created

Dear support team,

I use command "ng build --prod --base-href /HLVDMS/" build source to publish, but i can not see appsetting.production to updated api service link. where is it?

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • 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)

4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    appsettings.production.json is a dotnet file and ng build is an Angular command. what's the correct result that you expect? can you give more details?

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

    I have two enviroments, UAT and PROD. I only see environment.prod.ts with config for PROD, and now i want to add environment.uat.ts with config for UAT. How can i do it correctly?

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

    this is an Angular issue (apart from abp.io) you can build your Angular project with a custom configuration name, and it'll use that environment

    yarn ng build --configuration=uat
    
    environment.uat.ts
    

    see https://angular.io/guide/build

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

    This question has been automatically marked as stale because it has not had recent activity.

    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 October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.