How to use files output by the CRG

Hi

Forgive me ... I only have a basic knowledge of CSS and Javascript.

I'm evaluating the use of the Sidebar and Context Menu controls in a Blazor Server App and reading through the Getting Started documentation.  Using the CRG I've downloaded script and CSS files for the Bootstrap4 theme ... but I'm not sure what I should do with them and how to reference them from my project.  The following two lines have been added to my _Host.cshtml file.  Is that the correct thing to do?

<link rel='nofollow' href="css/mybootstrap4.css" rel="stylesheet" />
<script src="css/crg09042020a.js" type="text/javascript"></script>

Your help in telling me how I reference these files would be appreciated.

Peter

1 Reply

SP Sowmiya Padmanaban Syncfusion Team April 10, 2020 02:51 AM UTC

Hi Peter,  
  
 
We have checked your requirement that referring the CRG scripts and styles in Blazor application. You can download the CRG scripts in below link. 
 
 
After referring the script and styles link, you need to refer the below interop file link in Host.cshtml file. 
 
    <head> 
    </head> 
 
 
However, we are facing some issue when referring the local scripts and styles in Blazor application. Currently, we are working on this problem.  
 
As of now, please refer the following local NuGet package of (Syncfusion.Blazor) in your application to resolve this problem.  
 
Check out the following to know about how to refer local NuGet package in your application. 
 
 
 
 
 
 
We will resolve the issue in our next patch release which is expected to be released at mid-April 2020. 
  
Refer the below links for Sidebar component. 
  
  
  
We appreciate your patience, until then. 
 
Regards,  
Sowmiya.P 
 


Loader.
Up arrow icon