Padocia / Laravel-Nova-Pdf

MIT License
21 stars 9 forks source link

Load tailwind style content directly from file #4

Closed monaye closed 3 years ago

monaye commented 3 years ago

With current logic. Tailwind CSS shipped with the LaravelNovaPdf is loaded to Nova and then later in the logic, LaravelNovaPdf gets the file path from the Nova so can load the file content for the export template.

Since, the package style doesn't use anything other than PDF export, instead of registering Tailwind CSS to nova, load directly from the file.