F
Filament12mo 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
awcodes12mo ago
The instructions will be in the terminal after you run filament:theme
mszabeh
mszabeh12mo 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