Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 905 Bytes

SETUP_SERVERSIDE.md

File metadata and controls

9 lines (8 loc) · 905 Bytes

Install RapidCMS server-side

  1. Create a new ASP.NET Core Blazor Server-App project.
  2. Install NuGet-package: RapidCMS.UI.
  3. Add builder.Services.AddRapidCMSServer(config => { config.AllowAnonymousUser(); }) before var app = builder.Build(); in Program.cs.
  4. Replace the <Router> in App.razor with <RapidCMS.UI.Components.Router.RapidCmsRouter />.
  5. Replace the <link href="css/site.css" rel="stylesheet" /> tags in _Layout.cshtml 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.
  6. Hit F5: you're now running a completely empty RapidCMS instance.
  7. Start building your CMS by expanding config => {}. For reference, browse the Examples to see all the options.