Struggle
I bought this theme once I saw that is compatible with Blazor. My goal is to save time. We have a presentation/demo to do for investors. Now I'm losing it all.
Our solution is based on Blazor WebAssembly hosted (Server, Client and Shared projects). The strucutre is completely different than your Blazor version. I tried a lot to initiate things...in vain
The issue is that all UI elements outside index.html are not initiated so they are useless. Documentation even if it looks clean and organized it's a complete mess for the person who needs to buy a theme and run it fast. Is'nt it better to code from scratch in this case?
Now I'm already engaged in this path, so it needs to be finished.
I'm using demo1 html, I splited html code to index.html (contains scripts) and Mainlayout.razor (I wonder how I initiate all elements here).
Thanks
Replies (4)
Exp Chart15 is not initiating, also in local hosting default HTML code is not showing flags only text. Help, thks!
For widgets initialization, you can refer to widget files in the default Blazor Starterkit.
For example, we initialize chart widget5 inside Starterkit/Shared/Partials/Widgets/Charts/_ChartsWidget5.razor.
@code{
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if(firstRender){
await JS.InvokeVoidAsync("KTChartsWidget5.init");
}
}
}
Above initialization solution should work for Blazor Webassebly project too.
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Hi Ania Berthelot,
Our Blazor Starterkit is a Blazor Server app and at the moment we do not provide solutions related to Blazor Webassembly if you can't use Metronic without this feature you can request a refund.
To request a refund please use this form. 100% money back is guaranteed.
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Wouldn't it be easier for you to develop a startkit demo in webassembly, it would help us a lot and since you have a great knowledge it would be much easier and good for metronic