Update Architecture and structure of the page components (blocks)

Helge-Mikael Nordgård 2025-05-06 22:27:33 +02:00
parent 7bfe78369c
commit 4c37df12de

@ -54,7 +54,7 @@ All vue files under `resources/js/components/Blocks/<block_category>/` are the a
* A vue file for rendering the look of the component on the page builder (<ComponentName>.vue) * A vue file for rendering the look of the component on the page builder (<ComponentName>.vue)
* A vue file for rendering the look of the component on the actual page (<ComponentName>Rendered.vue) * A vue file for rendering the look of the component on the actual page (<ComponentName>Rendered.vue)
* A vue file for rendering the form fields the author of the page uses to fill out and manipulate component block data (for instance, title, text, button text, button type, size, etc. Everything you can think off) that will pop up in the left drawer, when the user clicks the cogwheel button (<ComponentName>Options.vue>) * A vue file for rendering the form fields the author of the page uses to fill out and manipulate component block data (for instance, title, text, button text, button type, size, etc. Everything you can think off) that will pop up in the left drawer, when the user clicks the cogwheel button (<ComponentName>Options.vue)
### block.js - definition file ### block.js - definition file