Vladimir
Help me understand why tailwind partially works in livewire component on custom Dashboard?
Now, when i added custom theme and it created me a new tailwind config file under its folder, and added a pth to livewire files, everything worked.
I am not sure i would figure it out on my own.
THank you @Dennis Koch . Really thank you.
30 replies
Help me understand why tailwind partially works in livewire component on custom Dashboard?
"tailwind.config.js "
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/.blade.php',
'./storage/framework/views/.php',
'./resources/views/*/.blade.php',
],
30 replies
Help me understand why tailwind partially works in livewire component on custom Dashboard?
Here is public repo for this:
https://github.com/coding-wisely/chillin so maybe help you to help me ❤️
30 replies
Help me understand why tailwind partially works in livewire component on custom Dashboard?
So tailiwnd color schema works for me only when i use the color on "highter" level- like dashboard page, and later on is applied to a modal and its content
30 replies
Help me understand why tailwind partially works in livewire component on custom Dashboard?
SO i draw some conclusions.
I have a custom Dashboard page, made by followng documentaiton.
I have a custom theme, also made by following docs.
ON Custom dashboard, Action createReport is called. That action is calling modal, and modal content is a livewire file.
Th file is not content of this modal, and no style can be applied to it. However, when i for egzample, in dashboard.blade.php create an empty div, and assign it bg-orange-600, and then inside that action modal, in livewire file, i user this class, it works, and bg-orange-600 has been applied.
But if i try, for example, to change the bg in livewire file, it does not work. No bg is applied. And then if i add this color somewhere in dahsboard.blade.php, bg color works in livewire file too.
30 replies
Help me understand why tailwind partially works in livewire component on custom Dashboard?
Hello @Dennis Koch sorry i was not online to answer.
Here is how my vite looks like:
Npm run dev
"tailwind.config.js "
As per default laravel installation, it includes full view folder there
30 replies