@filamentStyles @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles
postcss.config.jsexport default { plugins: { 'tailwindcss/nesting': 'postcss-nesting', tailwindcss: {}, autoprefixer: {}, },};
tailwind.config.jsimport defaultTheme from 'tailwindcss/defaultTheme';import forms from '@tailwindcss/forms';import typography from '@tailwindcss/typography';import preset from './vendor/filament/support/tailwind.config.preset'/** @type {import('tailwindcss').Config} */export default { presets: [preset], content: [ './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', './vendor/laravel/jetstream/**/*.blade.php', './storage/framework/views/*.php', './resources/views/**/*.blade.php', './app/Filament/**/*.php', './resources/views/filament/**/*.blade.php', './vendor/filament/**/*.blade.php', './resources/views/livewire/**/*.blade.php', ], theme: { extend: { fontFamily: { sans: ['Figtree', ...defaultTheme.fontFamily.sans], }, }, }, plugins: [forms, typography],};
vite.config.jsimport { defineConfig } from 'vite';import laravel from 'laravel-vite-plugin';import tailwindcss from 'tailwindcss';export default defineConfig({ plugins: [ laravel({ input: ['resources/css/app.css', 'resources/js/app.js',`resources/css/filament/admin/theme.css`], refresh: [ 'app/Livewire/**', ], }), ], server: { host: '0.0.0.0', port: '5173', hmr: { host: 'vite.local', clientPort: '5173', } },});