Drag and Drop Page Builder JavaScript Library
สร้างด้วยวานิลลา JS โดยไม่มีการพึ่งพาหรือสร้างเครื่องมือและ bootstrap 5
เว็บไซต์ | เอกสาร ฟอรัม Twitter
สำหรับ CMS โอเพ่นซอร์สที่โดดเด่นโดยใช้ VVVEBJS Page Builder ตรวจสอบ VVVEB CMS
การใช้เทมเพลตหน้า Landing Page VVVEB สำหรับหน้าสาธิตและ Bootstrap 5 ส่วนและบล็อก
โดยค่าเริ่มต้นตัวแก้ไขมาพร้อมกับส่วนประกอบ bootstrap 5 และวิดเจ็ตและสามารถขยายได้ด้วยส่วนประกอบและอินพุตทุกชนิด
# git 2.13+
git clone --recurse-submodules https://github.com/givanz/VvvebJs
# older git versions
git clone --recursive https://github.com/givanz/VvvebJsgit pull --recurse-submodules โคลนที่เก็บหรือดาวน์โหลดรีลีสจากนั้นเปิด editor.html
เนื่องจากเบราว์เซอร์ IFRAME Security คุณต้องใช้เว็บเซิร์ฟเวอร์เช่น Apache/XAMPP และเปิด http://localhost/editor.html
ในการใช้คุณสมบัติการอัปโหลดภาพหรือหน้าบันทึกคุณต้องติดตั้ง PHP
จากโฟลเดอร์ VVVEBJS Run
docker-compose upหรือเรียกใช้ภาพ
docker run -p 8080:80 vvveb/vvvebjsเปิด http: // localhost: 8080/editor.php หรือ http: // localhost: 8080/editor.html
บันทึกฟังก์ชั่นหน้าต้องการ PHP หรือโหนด
หากคุณใช้ Docker, XAMPP หรือบัญชีโฮสติ้งที่ใช้ร่วมกัน PHP ควรทำงานโดยไม่มีการเปลี่ยนแปลงใด ๆ
การบันทึกทำได้โดยใช้ save.php
สำหรับโหนดไปที่โฟลเดอร์ VVVEBJS และเรียกใช้
npm install express
node save.jsเปิด http: // localhost: 8080/editor.html
การบันทึกทำได้โดยใช้ save.js
เพื่อทำการเปลี่ยนแปลงไฟล์เทมเพลตหรือส่วนที่เรียกใช้คำสั่งต่อไปนี้จาก demo/landing
npm i เทมเพลต HTML Partials ตั้งอยู่ในโฟลเดอร์ demo/landing/src
npm run gulpnpm run gulp watch ส่วนไฟล์ HTML อยู่ใน demo/landing/src/sections ที่จัดกลุ่มในโฟลเดอร์ที่มีชื่อกลุ่มส่วน
npm run gulp sections โฟลเดอร์บล็อก HTML อยู่ในโฟลเดอร์ demo/landing/src/blocks ที่จัดกลุ่มในโฟลเดอร์ที่มีชื่อกลุ่มบล็อก
npm run gulp blocksnpm run gulp screenshots<!-- bootstrap-->
< script src = "js/popper.min.js" > </ script >
< script src = "js/bootstrap.min.js" > < / script >
<!-- builder code-->
< script src = "libs/builder/builder.js" > </ script >
<!-- undo manager-->
< script src = "libs/builder/undo.js" > </ script >
<!-- inputs-->
< script src = "libs/builder/inputs.js" > </ script >
<!-- components-->
< script src = "libs/builder/components-bootstrap5.js" > </ script >
< script src = "libs/builder/components-widgets.js" > </ script >
< script >
let pages = [
{
name : "narrow-jumbotron" ,
title : "Jumbotron" ,
url : "demo/narrow-jumbotron/index.html" ,
file : "demo/narrow-jumbotron/index.html"
} ,
{ name : "landing-page" , title : "Landing page" , url : "demo/landing/index.html" , file : "demo/landing/index.html" } ,
];
let firstPage = Object.keys(pages)[0];
Vvveb.Builder.init(pages[firstPage]["url"], function() {
//load code after page is loaded here
} );
Vvveb.Gui.init();
Vvveb.FileManager.init();
Vvveb.SectionList.init();
Vvveb.Breadcrumb.init();
Vvveb.FileManager.addPages(pages);
Vvveb.FileManager.loadPage(pages[firstPage]["name"]);
Vvveb.Gui.toggleRightColumn(false);
Vvveb.Breadcrumb.init();
< script >สำหรับตัวแก้ไข HTML และส่วนประกอบ/อินพุต JavaScript Templates แก้ไข editor.html
สำหรับการเปลี่ยนแปลง CSS แก้ไข scss/editor.scss และ scss/_builder.scss
เพื่อรวบรวม SCSS ไปยัง CSS First Install Gulp
npm iจากนั้นคุณสามารถเรียกใช้
npm run gulpหรือใช้ Watch เพื่อรวบรวมการเปลี่ยนแปลงไฟล์
npm run gulp watchสำหรับเอกสารตรวจสอบ wiki
หากคุณชอบโครงการคุณสามารถสนับสนุนได้ด้วยการบริจาค PayPal หรือเป็นผู้สนับสนุน/ผู้สนับสนุนผ่าน Open Collective
Apache 2.0