Update Architecture and structure of the page components (blocks)

Helge-Mikael Nordgård 2025-05-06 20:14:50 +02:00
parent e82f075180
commit 4c376db6ad

@ -46,4 +46,10 @@
│   │   ├── TwoColumnText.vue
│   │   ├── TwoColumnTextOptions.vue
│   │   └── TwoColumnTextRendered.vue
```
```
All vue files under `resources/js/components/Blocks/<block_category>/` are the actual components. Each component will have:
* 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 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)