- Create new ASP.NET Core Blazor WebAssembly project.
- Install NuGet-package:
RapidCMS.UI
. - Add
builder.Services.AddAuthorizationCore();
andbuilder.Services.AddRapidCMSWebAssembly(config => { config.AllowAnonymousUser(); })
before the last line ofMain
inProgram.cs
. - Replace the contents of
App.razor
with<RapidCMS.UI.Components.Router.RapidCmsRouter />
. - Replace the
<link href="css/site.css" rel="stylesheet" />
tags inindex.html
with<link href="_content/RapidCMS.UI/css/site.css" rel="stylesheet" />
and remove any other css. Add<script src="_content/rapidcms.ui/js/interop.js"></script>
at the end of the body tag. - Hit
F5
: you're now running a completely empty RapidCMS instance. - Start building your CMS by expanding
config => {}
. For reference, browse the Examples to see all the options.