⇂ 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
⇂ 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
Run build does include my custom page and the tailwind class take effect! great. But I get a warning that does not make sense:
warn - The `content` option in your Tailwind CSS configuration is missing or empty.warn - Configure your content sources or your generated CSS will be missing styles.warn - https://tailwindcss.com/docs/content-configuration
warn - The `content` option in your Tailwind CSS configuration is missing or empty.warn - Configure your content sources or your generated CSS will be missing styles.warn - https://tailwindcss.com/docs/content-configuration