hi ,
Can you please send us Good – Bootstrap 5 Admin Dashboard Template running blazor sample.
Thanks
Dharm
Hi again,
If you somehow get a chance to rate Good Admin on Getbootstrap Market, it would help us a lot.
Best Regards,
Lauris
Hi,
Our Blazor integration doc currently has some errors, we will release the fix for these errors in the next update as soon as possible. In the meantime, you can follow the below instructions to fix it on your end.
The easiest way to get started with Good + Blazor is to reuse webpack.config.js from the /theme/tools folder.
You can copy the/theme folder and place it into a root directory of your Blazor project.
By default, all bundled assets will be placed inside a /dist folder, but in the Blazor app we need to place them in the /wwwroot directory, to achieve this you can update the distPath variable in /theme/tools/webpack.config.js.
…
const distPath = demoPath + "../../wwwroot";
…
npm install
npm run build
@inject IJSRuntime JS
@inject NavigationManager MyNavigationManager
@code {
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
await JS.InvokeAsync<IJSObjectReference>("import", MyNavigationManager.ToAbsoluteUri("assets/plugins/global/plugins.bundle.js"));
await JS.InvokeAsync<IJSObjectReference>("import", MyNavigationManager.ToAbsoluteUri("assets/js/scripts.bundle.js"));
}
}
}
Hello,
Good does not have running Blazor sample at the moment, however it is in our roadmap for 2022. Stay tuned to get free updates.
Please feel free to ask if we can assist yo further.
Best regards,
Bob