Update Architecture and structure of the page components (blocks)

Helge-Mikael Nordgård 2025-05-07 07:10:57 +02:00
parent e1accd96de
commit e4396a9899

@ -58,7 +58,7 @@ All vue files under `resources/js/components/Blocks/<block_category>/` are the a
### block.js - definition file ### block.js - definition file
block.js (in `resources/js/Utils`) contains all the component block categories, component blocks, and field definitions for each component block in json format. Some field definitions are hardcoded with the system, and dictates their behaviour, other field definitions you are free to define yourself (as long as they don't conflict with the other built in field definitions. Let's go over one of the components defined in block.js and describe their field definitions: block.js (in `resources/js/Utils`) contains all the component block categories, component blocks, and field definitions for each component block in json format. Some field definitions are hardcoded with the system, and dictates their behaviour, other field definitions you are free to define yourself (as long as they don't conflict with the other built in field definitions). Let's go over one of the components defined in block.js and describe their field definitions:
``` ```
{ {