Skip to content

rhythmagency/rhythm.taghelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rhythm.taghelpers Publish to NuGet NuGet

A Razor TagHelpers library.

Startup

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

Contributing

If you would like to contibute please check our contributing guide!