custom theme

Hello, when I create a custom theme (php artisan make:filament-theme) and configure my vite.js file along with my panelAdminProvider.php, all the CSS disappears from my dashboard. And when I add CSS, for it to be recognized, I have to run npm run build. I'm doing exactly as the documentation and numerous explanations on the internet suggest.I'm on Laravel 11. Could that be the cause? I've tried on my current project and a brand new project. Always the same problem.πŸ˜‘
Lara Zeusβ€’16d ago
did you add import preset from 'vendor/filament/filament/tailwind.config.preset' to css
And when I add CSS, for it to be recognized, I have to run npm run build.
this how tailwind works, you have to rebuild every time you change in the css file or run npm run dev
LeChatSoeurβ€’16d ago
It's version 11 of Laravel that's causing the conflict, while version 10 works very well. And thank you for the information about npm run dev/build; I wasn't aware of that.
Dennis Kochβ€’16d ago
It's version 11 of Laravel that's causing the conflict,
What issues do you have with L11?
LeChatSoeurβ€’16d ago
Yes, thank you. During the installation of "filament-theme," all the CSS disappeared! I have just switched to Laravel 10.
Want results from more Discord servers?
Add your server
More Posts
Toggle-columnIs there any way to make toggle-column from scratch on a custom page ?$getAction() and visibilityWhen using ->registerActions() on a Form or Infolist component, it seems that visible() and hidden()Modal action or table inside formMy use case is a CRM application where each resource only has an edit screen. A list of related resoCustomizing Data Insertion with Filament's Import ActionHello, Regarding the import: https://filamentphp.com/docs/3.x/actions/prebuilt-actions/import Is iCount SaleItems sold by Product IDHello, I have a Sales Resource with (hasMany) SaleItems Resource which selects a product to sell froMissing required parameter for View routeI have just found out the wonder of Repeaters, and after adding one to a form, the first time I submDownloadable() and Openable() gives me 404 errorhello! I am currently creating our system and the downloadable() and openable() syntax in my filamenhow to add external url in navigationi want to add external url in my navigation sidebar. but i find a way for a specific resource. whatcustom themeHas anyone used Multi-Tenancy with diferent DB Sqlite???Livewire View Not foundI have a brand new install of Laravel 11, Filament 3 and Livewire 3. I have been configuring the adBumped from 3 to 3.2 and getting Leage\Csv\Writer not found```/vendor/filament/actions/src/Exports/Jobs/PrepareCsvExport.php:53 Leage\Csv\Writer not found ``` Using TailwindHi I have a project where I'm using Tailwind. I have a related resouce, which I want to highlught