A Razor TagHelpers library.
To get started with Rhythm Tag Helpers you will be the following;
- .net 6+ web project
- Install the Rhythm.TagHelpers NuGet package
Once installed add the following to your Program.cs during the WebApplicationBuilder
before Build()
is called.
builder.AddRhythmTagHelpers();
Alternatively if you are using Startup.cs ConfigureServices(IServiceCollection services)
add the following:
public void ConfigureServices(IServiceCollection services) {
services.AddRhythmTagHelpers();
}
Finally, be sure to add the following line to your _ViewImports.cshtml file.
@addTagHelper *, Rhythm.TagHelpers
If you would like to contibute please check our contributing guide!