Created
January 12, 2024 11:36
-
-
Save nul800sebastiaan/58181ad5c5bdb0643604d6961903a1cb to your computer and use it in GitHub Desktop.
Register Slimsy (and other dependencies) using a Composer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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