@myissue/vue-website-page-builder 3.3.48 → 3.3.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/home/page_builder_architecture.png +0 -0
- package/dist/vue-website-page-builder.js +668 -665
- package/dist/vue-website-page-builder.umd.cjs +23 -23
- package/package.json +1 -1
- package/src/Components/Loaders/GlobalLoader.vue +10 -3
- package/src/Components/Modals/DynamicModalBuilder.vue +1 -1
- package/src/Components/PageBuilder/EditorMenu/Editables/ImageEditor.vue +1 -1
- package/src/DemoComponents/DemoUnsplash.vue +2 -2
- package/src/DemoComponents/HomeSection.vue +1 -1
- package/src/PageBuilder/PageBuilder.vue +2 -2
- package/src/composables/PageBuilderService.ts +8 -11
package/README.md
CHANGED
|
@@ -514,6 +514,29 @@ If fonts or Material Icons are not displaying correctly, verify that:
|
|
|
514
514
|
import '@myissue/vue-website-page-builder/style.css'
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
+
## Page Builder Architecture
|
|
518
|
+
|
|
519
|
+
The Page Builder is designed as a modular, state-driven editor for dynamic page content. Its architecture separates configuration, state management, and DOM interaction, ensuring flexibility and maintainability.
|
|
520
|
+
|
|
521
|
+
#### How the Page Builder Works
|
|
522
|
+
|
|
523
|
+
The Page Builder is designed to be easy to use and flexible for any web project. Here’s how it works behind the scenes:
|
|
524
|
+
|
|
525
|
+
- **Configuration First:**
|
|
526
|
+
When you start the builder, you pass in your configuration (such as what type of page you’re building, user info, branding, and any existing content).
|
|
527
|
+
The builder saves this configuration immediately—even if the editing interface (DOM) isn’t loaded yet. This means you can safely set up the builder in advance, and it will be ready as soon as the editor appears on the page.
|
|
528
|
+
|
|
529
|
+
- **Loading Content:**
|
|
530
|
+
If you have existing content (like a published page), the builder loads it so you can keep editing. If not, you start with a blank page.
|
|
531
|
+
|
|
532
|
+
- **Editing Experience:**
|
|
533
|
+
As you add, move, or edit components (like text, images, or sections), the builder keeps everything in sync—both in the app’s memory and in your browser’s local storage. This means your work is always saved, even if you close the browser.
|
|
534
|
+
|
|
535
|
+
**In short:**
|
|
536
|
+
The Page Builder handles all the technical details of editing, saving, and loading pages, so your users can focus on creating great content—without worrying about losing their work or dealing with complicated setup.
|
|
537
|
+
|
|
538
|
+
<img style="max-width: 100%;" src="./public/home/page_builder_architecture.png" alt="Vue Website Page Builder - the editor" />
|
|
539
|
+
|
|
517
540
|
## Contributing
|
|
518
541
|
|
|
519
542
|
1. Fork the repository
|
|
Binary file
|