Open Closed

ABP Studio Theme Builder: Configure output directory #10883


User avatar
0
roman.schneiter created

When using the Theme Builder in ABP Studio, the generated CSS files are placed in the src/assets/css and styles folders relative to the Angular workspace root.

Is it possible to configure a different output location for these folders? If so, where can we change this setting or configuration files?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In ABP Studio Theme Builder (Angular), the output locations for the generated files are not configurable. The builder writes the generated CSS into the Angular workspace under the conventional locations (src/assets/css and styles) and there is no setting / configuration file (in the solution or in ABP Studio) to change these output folders.
    • If you need a different structure, the practical options are:
      1. Keep the Theme Builder output as-is and then move/copy the generated files to your preferred folders as a separate step (e.g., via an npm script).
      2. Adjust your Angular build configuration to consume styles from where Theme Builder writes them (recommended, since it matches ABP Studio’s expectations).

    No verified source available for this specific query.


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    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,

    The output paths are fixed in Theme Builder. There is no setting or config file to change them, either in the solution or in ABP Studio.

    The only thing you can choose is which projects the theme is applied to, in the Select Projects step.

    You can copy the files elsewhere after applying a theme, but it won't stick. The next apply recreates them in the original folders and points its own style entries in angular.json back there. So you'd have to redo the copy after every apply.

    Could you tell me why you need them in a different place, and how your Angular workspace is laid out? If it's not the standard template layout, that's something we should handle on our side.

    Thanks

    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.