Open shibinskov opened 2 years ago
You could do something like this:
ob_start();
$pageBuilder = new PHPageBuilder\PHPageBuilder($config);
$pageBuilder->handlePublicRequest();
$html = ob_get_contents();
ob_end_clean();
file_put_contents('export.html', $html);
Thank you for the comment. Yeah, it will export as HTML. I extracted the CSS, JS, and images from that and put them in a separate folder.
Can you please share the file where the change is located?
Is there any way to export the page as an HTML file? like in the grapejs export each page as HTML and CSS?