Material Css Loading

Hello Team,

I have a html page which is have one sf textbox control and one HTML5 button. In prod build version why material.css is downloading. Is there any other way that this css will not be in use. 

Size: 405kb
Time: 1.25sec

Total Load Time: 3.83sec

Highest time taken in total load request.




3 Replies 1 reply marked as answer

PM Ponmani Murugaiyan Syncfusion Team September 13, 2020 07:52 AM UTC

Hi Deepak, 

Thank you for contacting Syncfusion Support.   

We have checked your reported query and we would like to suggest you to use our Custom Resource Generator(CRG) to generate the custom script and styles for a set of specific controls that you want. Please refer the below CRG and its help documentation links.  

CRG Application Link: 

Help documentation Link:  

Could you please check the above information and get back to us if you need further assistance. 

Regards,  
Ponmani M 


Marked as answer

DJ Deepak Jain September 13, 2020 02:33 PM UTC

Hi Ponmani,

Thanks for your feedback, I will generate CSS for specific controls.

I have much more specific required. I have two component, one is login and one is report. In Login component I am using dropdown and textbox and in the report, I am using only grid. 

This means when I open the login page, grid CSS not to be download and when open login page textbox CSS should not download. 

How can I manage with CRG?


PM Ponmani Murugaiyan Syncfusion Team September 16, 2020 02:33 AM UTC

Hi Deepak, 

Thanks for the update. 

We suggest you to add required Syncfusion packages in systemjs.config.js file at map section as like below documentation. In which, the required styles alone will be downloaded as per your requirement. 


Kindly check with the above suggestion. Please get back us if you need further assistance. 

Regards, 
Ponmani M 


Loader.
Up arrow icon