Wrong info at Add Style sheet tutorial

So, I was trying to setup Syncfusion for Blazor based on information on the getting started page. I'm on VS22, .net6, Syncfusion for Blazor version 20 something.

In part Add Style Sheet - there is

<linkrel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css"rel="stylesheet"/>

And it doesn't work for me as I'm getting "Failed to load resource: the server responded with a status of 404 () syncfusionblazor.js" in browser.

Searching for answers I got this on your pages and it worked for me.

So instead of the line above I had to write this: 

<link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap5.css" rel="stylesheet" />

So with this change everything works on .net6 and latest blazor package. Pls fix it in the docs or in nuget package.


Many thanks





2 Replies 1 reply marked as answer

GL Gleb April 6, 2022 07:13 PM UTC

Also instead of:

<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

In my case only works this variant:

<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>







JL Joshna Lingala Uthama Reddy Lingala Syncfusion Team April 8, 2022 10:18 AM UTC

Hi Gleb,


Greetings from Syncfusion.


We have checked the reported query at our end. We suspect that you have installed entire NuGet i.e., Syncfusion.Blazor and referred the styles and scripts of individual NuGet packages. In the document section the content is related to individual NuGet packages installed in the application. For more details, please refer the below links to refer the styles and scripts in the application


https://blazor.syncfusion.com/documentation/appearance/themes#reference-themes-in-blazor-application

https://blazor.syncfusion.com/documentation/common/adding-script-references


Kindly try with the above information and get back to us if you have any queries.


Regards,

Joshna L


Marked as answer
Loader.
Up arrow icon