Skip to content

Instantly share code, notes, and snippets.

@nul800sebastiaan
Created January 12, 2024 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nul800sebastiaan/58181ad5c5bdb0643604d6961903a1cb to your computer and use it in GitHub Desktop.
Save nul800sebastiaan/58181ad5c5bdb0643604d6961903a1cb to your computer and use it in GitHub Desktop.
Register Slimsy (and other dependencies) using a Composer
using Slimsy.DependencyInjection;
using Umbraco.Cms.Core.Composing;
namespace MyProject;
public class RegisterDependencies : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
builder.AddSlimsy();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment