Replies: 3 comments 6 replies
-
Hello, even with this feature in the documentation you could not? https://livewire-powergrid.com/#/get-started/configure?id=_42-jit-production Could you give an example? |
Beta Was this translation helpful? Give feedback.
-
This is not yet documented, but to publish the file in the component is very simple:
public function template(): ?string
{
return \App\Http\Livewire\MyTheme::class,
} or inside the config file - 'theme' => \App\Http\Livewire\MyTheme::class, If anyone digs deeper into this content, feel free to contribute to the doc! |
Beta Was this translation helpful? Give feedback.
-
Hi everybody, I have merged a PR with a custom theme in PowerGrid Demo repository and you can also find examples here: PowerGrid Demo Misc I hope it can be helpful! |
Beta Was this translation helpful? Give feedback.
-
I am using the tailwind CSS with a prefix (for a unavoidable reasons) So I don't mind adding prefix to all the tailwind classes in the published resources files manually. Problem is it is not enough. There are still so many tailwind CSS classes in the vendor files (in livewire-powergrid/../..theme) which didn't get publish to the resources folder. So is there any suggestions to make this happened?
Beta Was this translation helpful? Give feedback.
All reactions