Dear Team
we are creating components to be hosted in the Angular Site and we managed the routes, security and component Loading correctly, but the issue is that we are getting alot of CSS and JS loaded on our page after the page finish loading, those styles and scripts are causing our design not to work.
our requirement is to create a clean components without any metronic css for specific routes.
please advise
4 Answer(s)
-
0
Hi @ibtikar
Could you share a screenshot of loaded files (styles/scripts) ? You are probably talking about files loaded here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/helpers/DynamicResourcesHelper.ts. You can modify this file to load assets for specific routes.
-
0
i already modified the DynamicResourcesHelper.ts and stopped the loading of the metronic files, but still there is some styles added after the page load.
-
0
Hi @ibtikar
Sorry for my late reply. Could you share names of those files ?
-
0
This issue is closed because it has not had recent activity for a long time.