The NextJS pages are based on templates that are stored in the Renderer application. These templates are React functional components, registered in the renderer app. If a page is based on one of them, the Renderer will be able to render the page.
Out-of-the-box Sitefinity NextJS Renderer comes with a blank template called Default that you can select in the template selector. This template references Bootstrap5 CSS framework. The default Section widget templates also contain the Bootstrap5 grid system markup.
This sample demonstrates how to setup a custom template component that can be used as a base for building your NextJS application. The template is meant to contain the common HTML page structure like its head, body tags, common scripts and the styles for the page.
Template inheritance is available for custom templates as well. You can base your Sitefinity templates on the custom templates from the NextJS Renderer.
To create your own custom template, you must do the following:
widgets
requestContext
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important