givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
6.91k stars 1.59k forks source link

how to save page & set image locally #267

Open LiuZhH1366 opened 1 year ago

LiuZhH1366 commented 1 year ago

I try to run it locally by web server of chrome (Reference #245 ), it can run successfully, but it can't Save Page and Set Image, and notice "Unhandled request. Did you select a folder to serve?"

OS: windows 7

So what should I do ?

Thanks !

givanz commented 1 year ago

Hi

The local server from chrome does not have php support to run save.php that saves the page to disk.

You need a web server that runs a server side language like php to save the content to server, if you wish to use the provided save.php then you can install xampp or wampp that comes bundled with php.