I have finally got my build step passing. I have removed the SourceLink.Create.CommandLine package from all of my project files and all common.props files. So SourceLink may still be an issue. Please keep me up to date on what you find with the SourceLink investigation.
I also switched my vmImage in my yaml file to 'windows-latest'.
Hi
I am having an issue adding a menu item at the same level as the "Administration" (AbpUiNavigation::Menu:Administration) menu item with child items that will be part of a lazy loaded module?
I have looked at the following github issues and the docs but there is no comprehensive documentation explaining how to achieve what I need to. https://github.com/abpframework/abp/issues/2186 https://github.com/abpframework/abp/pull/2425 https://docs.abp.io/en/abp/dev/Tutorials/Part-1?UI=NG
I have also had a look at the source code and tried various things from there in my code. ie using addAbpRoutes but still no luck.
Can I please get some info or code examples on how to achieve this?
Thanks.
Hi alper
Thanks, I am now able to see hard coded menu items.
Can you please provide an example of how this works with routes defined in a lazy module and then loaded in the app routing module via loadChildren?
Hi
I am receiving the following error when doing a Production build of our Angular app: ''' ERROR in Can't resolve all parameters for ɵj in /node_modules/@volo/abp.ng.account/volo-abp.ng.account.d.ts: ([object Object], [object Object], ?, [object Object], [object Object], [object Object]). '''
This does not happen when doing a normal "ng build".
We are using version 2.3.0 of abp npm packages
ng build appname --prod
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
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
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
It looks like there was a problem with the build of the angular application.
This problem is sorted out.
Thanks.
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.