Repository: dashpilot/vue-pagebuilder Branch: main Commit: 05e3f7fbc11b Files: 26 Total size: 130.8 KB Directory structure: gitextract_ssjr_prk/ ├── .gitignore ├── README.md ├── build/ │ └── bundle.mjs ├── components/ │ ├── featured/ │ │ └── featured.mjs │ ├── features/ │ │ └── features.mjs │ ├── header/ │ │ └── header.mjs │ ├── helpers.mjs │ ├── news/ │ │ └── news.mjs │ ├── newsleft/ │ │ └── newsleft.mjs │ └── post/ │ └── post.mjs ├── editor/ │ ├── components/ │ │ ├── add-content.mjs │ │ ├── fa-picker.mjs │ │ └── image-resize.mjs │ ├── editor.css │ ├── editor.mjs │ └── js/ │ └── iconpicker/ │ ├── iconpicker-1.5.0.css │ ├── iconpicker-1.5.0.js │ └── iconpicker-1.5.0.json ├── index.html ├── main.mjs ├── package.json ├── rollup.build.mjs ├── rollup.serve.mjs ├── style.css ├── test-inline.html └── test.html ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .DS_Store .env node_modules ================================================ FILE: README.md ================================================ # vue-pagebuilder A visual pagebuilder for Vue 3. Features: - Add premade layout blocks to the page - Rearrange and delete layout blocks - Edit text - Upload images (with automatic resize) - Font Awesome icon chooser - Change colors and fonts - Download generated HTML # demo https://vue-pagebuilder.vercel.app # preview ![App Preview](https://github.com/dashpilot/vue-pagebuilder/blob/main/editor/img/app-preview2.png?raw=true) ## Run the demo locally To run the project locally, run: ```bash npm run serve ``` This will start a local server on localhost:8000 ## Press the :star: button Don't forget to press the :star: button to let me know I should continue improving this project. ================================================ FILE: build/bundle.mjs ================================================ const html$8 = String.raw; const template$9 = html$8`

{{item.title}}

{{item.subtitle}}

{{item.button_text}}
`; var Header = { template: template$9, props: ["item"], mounted() { //console.log('Banner component mounted.') }, }; const html$7 = String.raw; const template$8 = html$7`

{{item.title}}

{{item.body}}

`; var Post = { template: template$8, props: ["item"], mounted() { //console.log('Post component mounted.') }, }; var helpers = { def: function (key, val) { if (key) { return key; } else { return val; } }, youtube_parser: function (url) { var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/; var match = url.match(regExp); return match && match[7].length == 11 ? match[7] : false; }, }; const html$6 = String.raw; const template$7 = html$6`

{{item.title}}

{{item.body}}