Thank you Mehmet.
I completely forgot about the !important.
I am able to override what I need to now.
Hi alper
Completely forgot about the !important.
I am able to override now.
Thank you.
Hi
I am trying to override the class in your example above. I have added it to the angular applications styles.scss file and I am able to see the style is there when viewing it in the browser. It is however not overriding the lepton theme's style.
We have multiple angular applications and each application needs its own custom style.
Can you please give me an example of where and how I should be overriding the lepton theme?
Thanks alper. I was able to download the source code
Hi
I am not able to see the Modules menu item on the top nav bar when running ABP Suite. All I see is the CRUD Page Generator option. I would like to download the Angular source code to view the themes and customize the styling for our applications.
I am using the latest version of the ABP CLI (2.6.2).
Please can you help me sort this out or at least provide me with the command to be able to download the source on the command line.
I have tried abp get-source @volo/abp.ng.theme.lepton
but get an error that the module is not found.
If this is not implemented for Angular modules yet can you please email me the source code.
Hi Mehmet
It looks like there was a problem with the build of the angular application.
This problem is sorted out.
Thanks.
Hi
I am currently experiencing an issue on my deployed application. When clicking on Login I get a blank page with no errors in the browser console. The ConfigState has loaded correctly, which means the angular app is communicating successfully with the backend. I have also checked the logs and there are no errors.
But when I click on Login I get a blank page with no errors:
Is there something I am missing? What could cause this problem?
Thanks.
Hi Mehmet
Yes no problem.
I would like to remove these from the environment.ts file in my angular application.
application: {
name: 'Test'
},
oAuthConfig: {
issuer: 'https://localhost:44373',
clientId: 'Test_App',
dummyClientSecret: '1q2w3e*',
scope: 'Test',
showDebugInformation: true,
oidc: false,
requireHttps: true
},
apis: {
default: {
url: 'https://localhost:44373'
}
},
localization: {
defaultResourceName: 'Test'
}
Add them to the appsettings.json in the HttpApi.Host project where I can control the values with transforms and have all application settings in one place.
Then when my angular app starts up it loads those values from the ConfigState:settings rather than from the environment.ts file.
I see the environment settings get passed into the CoreModule like this.
CoreModule.forRoot({
environment,
requirements: {
layouts: [...LAYOUTS]
}
}),
Would it be possible to somehow get the settings from ConfigState and completely replace the environment settings before passing it to the CoreModule above?
Hi
Would it be possible to move the settings in the environment.ts file to the appsettings.json file in the HttpApi.Host project.
I am aware of how to add custom settings using the ISettingDefinitionContext etc. I am able to see those settings in the ConfigState:setting variable when running my angular apps. Is possible to replace the ConfigState:environment state with the settings from appsettings.json file and if so how would I go about doing this?
The reason I want to do this is to avoid having to build my angular apps for different environments and be able to control the settings in a file that I can modify at runtime. ie appsettings.json which will handle different settings for different environments using transforms.
Regards,
Warick
ng build appname --prod