Skip to content

lookingdown/VvvebJs

 
 

Repository files navigation

VvvebJs

Drag and drop website builder javascript library.

WORK IN PROGRESS Fork with bootstrap 4.3.1, bootswatch themes, addition/upload of new templates from interface, creation of php file of edited files with php includes for head header footer and scripts includes for integration in PHP projects stores page data (filenname status(draft) username date or others).. to Database with pdo, Work in progress , works for me though..

Todo... Validate existence of php before saving with option to overwrite, currently only Upserts... Add ?version to bootstrap css file to force refresh with the change.. Add different php save types.. (form) Add example of php block..

Theme html files should reference bootsrap css as such

Built with jQuery and Bootstrap 4.

Two panel Live Demo

One panel Live Demo

Slack Discord npm

Using Startboostrap landing page for demo page and Bootstrap 4 components.

Features

  • Components and blocks/snippets drag and drop.
  • Undo/Redo operations.
  • One or two panels interface.
  • File manager and component hierarchy navigation.
  • Add new page.
  • Live code editor.
  • Image upload with example php script included.
  • Page download or export html or save page on server with example php script included.
  • Components/Blocks list search.
  • Bootstrap 4 components.
  • Youtube, Google maps, Charts.js etc widgets.

By default the editor comes with Bootstrap 4 and Widgets components and can be extended with any kind of components and inputs.

Usage

<!-- jquery-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.hotkeys.js"></script>

<!-- 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-bootstrap4.js"></script>	
<script src="libs/builder/components-widgets.js"></script>	


<script>
$(document).ready(function() 
{
	Vvveb.Builder.init('demo/index.html', function() {
		//load code after page is loaded here
		Vvveb.Gui.init();
	});
});
</script>

For editor html and components/input javascript templates check editor.html

For css changes edit scss/editor.scss and scss/_builder.scss

Documentation

For documentation check the wiki

Support

If you like the project you can support it with a PayPal donation or become a backer/sponsor via Open Collective

License

Apache 2.0

About

Drag and drop website builder javascript library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%