I started a project 5 months ago with inertia, considering that it would be good to actually move fast with the project.
I know that in most cases inertia returns JSON and not HTML, but there are some cases, for example extracting the HTML out of the page that literally becomes impossible to accomplish.
I wanted to use spatie browsershot, and in two days I haven't had the possibility to get around this issue.
Steps to reproduce:
Create a file for the pdf on the pages and try to install browsershot, dd($htmlofinertia) its json
Version:
@inertiajs/vue3
version: 1Describe the problem:
I started a project 5 months ago with inertia, considering that it would be good to actually move fast with the project. I know that in most cases inertia returns JSON and not HTML, but there are some cases, for example extracting the HTML out of the page that literally becomes impossible to accomplish. I wanted to use spatie browsershot, and in two days I haven't had the possibility to get around this issue.
Steps to reproduce:
Create a file for the pdf on the pages and try to install browsershot, dd($htmlofinertia) its json