无法使用单例“Bunit.Rendering.WebTestRenderer”中的范围服务“Microsoft.AspNetCore.Components.IComponentActivator” 这是单元测试的代码: using BlazorApp1.Pages; using Blazorise; using Blazorise.Bootstrap; using Blazorise.Icons.FontAwesome; using Blazorise.Modules; using Bunit; using Microsoft.AspNetCore.Co...
using Blazorise; using Blazorise.Bootstrap; using Blazorise.Icons.FontAwesome; builder.Services .AddBlazorise( options => { options.Immediate = true; } ) .AddBootstrapProviders() .AddFontAwesomeIcons(); Usage @page "/counter" <Heading Size="HeadingSize.Is1">Counter</Heading> <Paragraph>Cur...
Please note, that these are the Blazorise explicit dependencies, you still need to add framework
// other usingsusingBlazorise;usingBlazorise.Bootstrap;usingBlazorise.Icons.FontAwesome;publicclassProgram{publicstaticasyncTaskMain(string[] args){varbuilder = WebAssemblyHostBuilder.CreateDefault( args ); builder.Services .AddBlazorise( options => { options.ChangeTextOnKeyPress =true; } ) .AddBootstra...
Please note, that these are the Blazorise explicit dependencies, you still need to add framework specific dependencies