Kjac.NoCode.HeadlessMode
1.0.0
dotnet add package Kjac.NoCode.HeadlessMode --version 1.0.0
NuGet\Install-Package Kjac.NoCode.HeadlessMode -Version 1.0.0
<PackageReference Include="Kjac.NoCode.HeadlessMode" Version="1.0.0" />
paket add Kjac.NoCode.HeadlessMode --version 1.0.0
#r "nuget: Kjac.NoCode.HeadlessMode, 1.0.0"
// Install Kjac.NoCode.HeadlessMode as a Cake Addin #addin nuget:?package=Kjac.NoCode.HeadlessMode&version=1.0.0 // Install Kjac.NoCode.HeadlessMode as a Cake Tool #tool nuget:?package=Kjac.NoCode.HeadlessMode&version=1.0.0
No-Code Headless Mode
The No-Code Headless Mode package removes unused editor features from Umbraco CMS when its used purely as a headless CMS.
[!TIP] If you are extending Umbraco with custom .NET code, this package might not be for you 😄
Installing the package
[!IMPORTANT] First and foremost, make sure the Delivery API is enabled. See the Umbraco Delivery API docs for details.
The package is installed from NuGet:
dotnet add package Kjac.NoCode.HeadlessMode
The package requires no additional configuration once installed.
An opinionated package?
This is without doubt an opinionated package. What is an "unused feature", after all?
So what exactly does it to?
The package focuses on removing or altering editor UI features that are either not applicable or misleading in a headless setup.
In the content editor
- Default links to published content are removed (custom outbound links will be retained).
- The template selector is removed.
- The "Culture and Hostnames" option is removed from the content tree menu.
- Editor warnings for missing domain mappings in a multi-lingual setup are disabled.
- The "Save and Preview" button is removed, unless custom preview URLs are configured for external hosts.
- Redirect URLs are transformed to be "information only" (no outbound links).
Removing the "Culture and Hostnames" option might be controversial. However, the Delivery API provides alternative means for handling context and localization - see Delivery API concepts for more info.
In the Settings section
- Everything related to Razor rendering/templating is removed.
- The "Models Builder" and "Profiling" dashboards are removed (read more about these dashboards here).
Other things
- The "Translation" section is removed, because the Delivery API does not support translations.
No-Code Delivery API
This package works really well with the No-Code Delivery API package 😄
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Umbraco.Cms.Web.BackOffice (>= 13.0.0)
- Umbraco.Cms.Web.Website (>= 13.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 519 | 1/14/2024 |