Skip to content

Page Block

jan edited this page Nov 23, 2022 · 2 revisions

Creating new page blocks

Creating a new block requires the following steps:

  1. create new a JSX Element + matching Template inside components/blocks
  2. in the .tina/config.tsx search for the page object and add the newly created template to the templates list.
  3. add a case for the JSX Element inside components/blocks-renderer.tsx
Clone this wiki locally