HansSchouten / PHPageBuilder-Laravel-Screenshots

Render new PHPageBuilder block thumbs if view file contents changes
https://www.phpagebuilder.com/
4 stars 0 forks source link

How exactly to use this? #1

Open ljieyao opened 3 years ago

ljieyao commented 3 years ago

How exactly do I use this with the laravel?

estelle-zeuk commented 3 years ago

Please @HansSchouten, Is there any further configuration to do? I have install the spatie/browsershot package, but it is not working

image

HansSchouten commented 3 years ago

After adding the files from this repository, you should run php artisan pagebuilder:render-thumbs, to execute this command: https://github.com/HansSchouten/PHPageBuilder-Laravel-Screenshots/blob/master/RenderBlockThumbs.php

estelle-zeuk commented 3 years ago

After adding the files from this repository, you should run php artisan pagebuilder:render-thumbs, to execute this command: https://github.com/HansSchouten/PHPageBuilder-Laravel-Screenshots/blob/master/RenderBlockThumbs.php

Where exactly to add those files please? Directly in the hansschouten package in the vendor folder?

HansSchouten commented 3 years ago

These files should be added directly inside your Laravel installation. Please open each of the files of this repo and look at the namespace at the beginning, this is the directory in which the file should be added or changed if it already exists.

estelle-zeuk commented 3 years ago

These files should be added directly inside your Laravel installation. Please open each of the files of this repo and look at the namespace at the beginning, this is the directory in which the file should be added or changed if it already exists.

Thanks a lot!