@myissue/vue-website-page-builder 3.1.33 → 3.1.35
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
CHANGED
|
@@ -15,41 +15,28 @@ A Vue 3 page builder component with drag & drop functionality for creating dynam
|
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
+
The web builder for stunning pages. Enable users to design and publish modern pages at any scale.
|
|
19
|
+
|
|
18
20
|
```bash
|
|
19
21
|
npm install @myissue/vue-website-page-builder
|
|
20
22
|
```
|
|
21
23
|
|
|
22
|
-
### Important: CSS Import Required
|
|
23
|
-
|
|
24
|
-
The page builder requires its CSS file to be imported for proper styling and automatic icon loading:
|
|
25
|
-
|
|
26
|
-
```js
|
|
27
|
-
import '@myissue/vue-website-page-builder/style.css'
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
This import automatically includes:
|
|
31
|
-
|
|
32
|
-
- ✅ Page builder styles
|
|
33
|
-
- ✅ Google Fonts (Jost, Cormorant - no additional setup needed)
|
|
34
|
-
- ✅ Google Material Icons (no additional setup needed)
|
|
35
|
-
- ✅ Responsive design utilities
|
|
36
|
-
|
|
37
24
|
## Click & Drop Page Builder
|
|
38
25
|
|
|
39
|
-
[Play around with the
|
|
26
|
+
[Play around with the Page Builder](https://www.builder-demo.myissue.dk)
|
|
40
27
|
|
|
41
|
-
|
|
28
|
+
Lightweight & Minimalist Page Builder with an elegant and intuitive design, focused on simplicity and speed.
|
|
42
29
|
|
|
43
|
-
|
|
30
|
+
Build responsive pages like listings, jobs or blog posts and manage content easily using the free Click & Drop Page Builder.
|
|
44
31
|
|
|
45
32
|
To star the repository, simply click on the **Star** button located at the top-right corner of the GitHub page. Thank you in advance for your support! 🙌
|
|
46
33
|
|
|
47
34
|
## Demo
|
|
48
35
|
|
|
49
|
-
Introducing the **The
|
|
36
|
+
Introducing the **The Lightweight Free Vue Click & Drop Page Builder**
|
|
50
37
|
create and enhance digital experiences with Vue on any backend.
|
|
51
38
|
|
|
52
|
-
[Play around with the
|
|
39
|
+
[Play around with the Page Builder](https://www.builder-demo.myissue.dk)
|
|
53
40
|
|
|
54
41
|
## About
|
|
55
42
|
|
|
@@ -112,10 +99,29 @@ yarn install
|
|
|
112
99
|
bun install
|
|
113
100
|
```
|
|
114
101
|
|
|
102
|
+
### Important: CSS Import Required
|
|
103
|
+
|
|
104
|
+
The Page Builder requires its CSS file to be imported for proper styling and automatic icon loading:
|
|
105
|
+
|
|
106
|
+
```js
|
|
107
|
+
import '@myissue/vue-website-page-builder/style.css'
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
This import automatically includes:
|
|
111
|
+
|
|
112
|
+
- ✅ Page Builder styles
|
|
113
|
+
- ✅ Google Fonts (Jost, Cormorant - no additional setup needed)
|
|
114
|
+
- ✅ Google Material Icons (no additional setup needed)
|
|
115
|
+
- ✅ Responsive design utilities
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
115
119
|
### Quick Start
|
|
116
120
|
|
|
117
121
|
Get up and running quickly and initializing the builder in your Vue project. The following example demonstrates the minimal setup required to start building pages.
|
|
118
122
|
|
|
123
|
+
- The Page Builder requires its CSS file to be imported for proper styling and automatic icon loading:
|
|
124
|
+
|
|
119
125
|
```vue
|
|
120
126
|
<script setup>
|
|
121
127
|
import { PageBuilder } from '@myissue/vue-website-page-builder'
|
|
@@ -136,7 +142,7 @@ Get up and running quickly by importing the PageBuilder component, setting up yo
|
|
|
136
142
|
- `pageBuilderLogo` to display your company logo in the builder toolbar
|
|
137
143
|
- `resourceData` to prefill the builder with initial data
|
|
138
144
|
- `userSettings` to set user preferences such as theme, language, or autoSave
|
|
139
|
-
- `createNewResourceFormName` (recommended): Specify the resource type (e.g., `"article"`, `"jobPost"`, `"store"`, etc.) in the `updateOrCreate` config. This is especially useful if your platform supports multiple resource types. By providing a unique name, the
|
|
145
|
+
- `createNewResourceFormName` (recommended): Specify the resource type (e.g., `"article"`, `"jobPost"`, `"store"`, etc.) in the `updateOrCreate` config. This is especially useful if your platform supports multiple resource types. By providing a unique name, the Page Builder can correctly manage layouts and local storage for each resource type, allowing users to continue where they left off for different resources.
|
|
140
146
|
|
|
141
147
|
```vue
|
|
142
148
|
<script setup>
|
|
@@ -171,7 +177,7 @@ const configPageBuilder = {
|
|
|
171
177
|
const pageBuilderStateStore = sharedPageBuilderStore
|
|
172
178
|
const pageBuilderClass = new PageBuilderClass(pageBuilderStateStore)
|
|
173
179
|
|
|
174
|
-
// Initializing
|
|
180
|
+
// Initializing Page Builder with essential configuration
|
|
175
181
|
pageBuilderClass.setConfigPageBuilder(configPageBuilder)
|
|
176
182
|
</script>
|
|
177
183
|
|
|
@@ -182,9 +188,9 @@ pageBuilderClass.setConfigPageBuilder(configPageBuilder)
|
|
|
182
188
|
|
|
183
189
|
### Company Logo & Logged-in User
|
|
184
190
|
|
|
185
|
-
You can display your company logo in the
|
|
191
|
+
You can display your company logo in the Page Builder interface and set the currently logged-in user by passing both a logo URL and user information in your config object:
|
|
186
192
|
|
|
187
|
-
- **Company Logo:** Set the logo URL in your config object and pass it to the PageBuilder using `pageBuilderClass.setConfigPageBuilder(configPageBuilder)`. When provided, the logo will appear at the top of the
|
|
193
|
+
- **Company Logo:** Set the logo URL in your config object and pass it to the PageBuilder using `pageBuilderClass.setConfigPageBuilder(configPageBuilder)`. When provided, the logo will appear at the top of the Page Builder with proper spacing in the toolbar.
|
|
188
194
|
- **Logged-in User:** Pass a `userForPageBuilder` object in your config to display or use the logged-in user's information within the builder (e.g., for audit trails, personalization, or permissions).
|
|
189
195
|
|
|
190
196
|
**Basic Usage:**
|
|
@@ -23583,7 +23583,7 @@ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-co
|
|
|
23583
23583
|
}, pS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, uS = { class: "overflow-x-auto" }, mS = { class: "min-w-full divide-y divide-gray-300" }, hS = { class: "bg-white divide-y divide-gray-200" }, gS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, fS = { class: "flex items-center space-x-3" }, bS = { class: "border-r border-gray-200 pr-6" }, yS = ["src"], wS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, vS = { class: "flex items-center space-x-3" }, xS = { class: "border-r border-gray-200 pr-6" }, kS = { class: "flex items-center space-x-3" }, SS = { class: "whitespace-nowrap" }, CS = {
|
|
23584
23584
|
__name: "PageBuilderSettings",
|
|
23585
23585
|
setup(r) {
|
|
23586
|
-
const e = "v3.1.
|
|
23586
|
+
const e = "v3.1.35", t = Le, o = S(!1), n = S(""), i = S(null), s = L(() => t.getConfigPageBuilder), a = function() {
|
|
23587
23587
|
n.value = "Advanced Settings", o.value = !0;
|
|
23588
23588
|
}, l = function() {
|
|
23589
23589
|
o.value = !1;
|