Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

GetScripts #5920


User avatar
0
gconey created

Hi,

Could you tell me where/how GetScripts is called in the Angular 2+ version? This builds the dynamic Abp scripts for front-end localization, etc. I need to do something similar. I know that in other versions of the Framework it is called in Layout.cshtml but I can't find where it is called in the Angular 2+ version. Thanks.

George


2 Answer(s)
  • User Avatar
    0
    gconey created

    I found the answer myself. The Angular 2+ version of the f/w doesn't call GetScripts instead it makes a call to AbpUserConfiguration/GetAll in getUserConfiguration in AppPreBootstrap.ts I'm not sure quite why you do it like that though? Would be interested in a bit of an explanation of how this part of the f/w works. Thanks.

  • User Avatar
    0
    alper created
    Support Team

    swagger generates proxies for angular.