Closed samuel-lujan closed 1 year ago
I'm trying to create some PDF using my blade template page. but when run the code, show me the error
All of the namespaces is looking good, but I don't even know what's changed.
You are not using the facade correctly.
This is wrong:
// .... (new PDF)->loadView();
This is good:
use PDF; $pdf = PDF::loadView(/* ... */);
I'm trying to create some PDF using my blade template page. but when run the code, show me the error
All of the namespaces is looking good, but I don't even know what's changed.