Why Filament Custom theme generating path like this in tw config 'is it bug or im doing it wrong'

tailwind.config.js
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/F:\1_Dev_G\php_laravel\laravel-livewire\laravel-livewire-ecom\app\Filament\Shop\Clusters\Settings\**/*.php',
'./resources/views/filament/f:\1_-dev_-g\php_laravel\laravel-livewire\laravel-livewire-ecom\app\-filament\-shop\-clusters\-settings\**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
}
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
presets: [preset],
content: [
'./app/Filament/F:\1_Dev_G\php_laravel\laravel-livewire\laravel-livewire-ecom\app\Filament\Shop\Clusters\Settings\**/*.php',
'./resources/views/filament/f:\1_-dev_-g\php_laravel\laravel-livewire\laravel-livewire-ecom\app\-filament\-shop\-clusters\-settings\**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
}
I generated this using php artisan make:filament-theme for shop panel I can manually configure it but it is weird !!
Solution:
you could try to update Filament, current version is 3.2.92 try to generate it using linux.....
Jump to solution
4 Replies
LeandroFerreira
LeandroFerreira6mo ago
php artisan about --only=Filament What is the Filament version? What is the o system?
Nick Ruddra
Nick RuddraOP6mo ago
my FIlament version is 3.2.29 and I work in both arch linux and windows for same project and this theme is generated when i was in windows !
Solution
LeandroFerreira
LeandroFerreira6mo ago
you could try to update Filament, current version is 3.2.92 try to generate it using linux..
Nick Ruddra
Nick RuddraOP6mo ago
Although I fixed the problem by manually configure it! I will regenarate theme again after updating filament version in linux and windows and give you an update what is the situation all is ok! now its generating correctly in both windows and linux! all i have to do is update the version! I started my project about 2 week ago so I thought there is no need to update any packege! -_- sorry my bad!
Want results from more Discord servers?
Add your server