Configuration
Configuring Umbraco UI Builder, the backoffice UI builder for Umbraco.
Umbraco UI Builder can be configured directly via the
AddUIBuilder
extension method on IUmbracoBuilder
.To configure Umbraco UI Builder via the
AddUIBuilder
extension method, you can extend the ConfigureServices
method found in the Startup.cs
file in the root of your web project. From within this method, before the call to AddComposers()
we can add our AddUIBuilder
configuration.public class Startup
{
...
public void ConfigureServices(IServiceCollection services)
{
services.AddUmbraco(_env, _config)
.AddBackOffice()
.AddWebsite()
.AddUIBuilder(cfg => {
// Apply your configuration here
})
.AddComposers()
.Build();
}
...
}
The
AddUIBuilder
extension method accepts a single parameter, a delegate function with one of the Umbraco UI Builder configuration builder arguments. With this, you can then call the relevant fluent APIs to define your solution.Last modified 1mo ago