F
Filament2w ago
btx

How to theme using SCSS?

I followed this guide to create a custom theme. https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme How ever it does not work with scss. How can I enable ?
1 Reply
btx
btxOP2w ago
The solution: 1) npm install -D sass-embedded 2) Update vite.config.js: input: ['resources/css/app.scss', 'resources/js/app.js', 'resources/css/filament/admin/theme.scss'], 3) Rename files accordingly
Want results from more Discord servers?
Add your server