F
Filament16mo ago
mszabeh

How to generate new assets

Hello, I create new theme according this link: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme I see Please follow the instructions in the command to complete the setup process. but I can't find instructions
2 Replies
awcodes
awcodes16mo ago
The instructions will be in the terminal after you run filament:theme
mszabeh
mszabehOP16mo ago
thank @awcodes , I remove theme and recreate and see that The instructions: WARN Action is required to complete the theme setup: ⇂ First, add a new item to the input array of vite.config.js: resources/css/filament/admin/theme.css ⇂ Next, register the theme in the admin panel provider using ->viteTheme('resources/css/filament/admin/theme.css') ⇂ Finally, run npm run build to compile the theme
Want results from more Discord servers?
Add your server