Documentation Index
Fetch the complete documentation index at: https://docs.firepitcms.com/llms.txt
Use this file to discover all available pages before exploring further.
You can easily create new pages through the admin panel.
Setup the dynamic router
You can easily configure the dynamic router. The router uses a fallback route so it’s important to add the CMS routes at
the very end of your routes file. The Firepit CMS has a very simple helper method for registering the routes.
<?php
// Any existing hard coded routes
Route::view('/', 'welcome');
// Register CMS routes by adding this at the very bottom of the file
cms()->routes();
Creating blocks
We use Paver Editor. See https://pavereditor.com/docs/beta/making-blocks.
Register blocks
cms()->registerBlock(Hero::class);
Rendering pages
Rendering all page content
Rendering only rich editor content
<x-cms::page.content :$page />
Rendering only blocks
<x-cms::page.blocks :$page />