diogogpinto / filament-auth-ui-enhancer

This Filament plugin empowers you to transform your auth pages with ease, allowing you to make them truly stand out. It offers a flexible alternative to the default auth pages in the Filament Panels package.
MIT License
89 stars 9 forks source link

[Bug]: Does not work when panel path/id is not 'admin' #8

Closed diegobas closed 4 months ago

diegobas commented 4 months ago

What happened?

When you define your panel id to something different from 'admin' the login action gives this error:

Unable to find component: [diogo-g-pinto.auth-u-i-enhancer.pages.auth.auth-ui-enhancer-login]

How to reproduce the bug

public function panel(Panel $panel): Panel
{
    return $panel
        ...
        ->id('manage')
        ->path('manage')
        ->login()
       ...
}

It works when panel ID is 'admin'

Package Version

1.0.1

PHP Version

8.3

Laravel Version

11.29.0

Which operating systems does with happen with?

Linux

Notes

No response

diogogpinto commented 4 months ago

Hey @diegobas

I just tried out with a panel much like yours and it worked fine:

ManagePanelProvider.php:

        return $panel
            ->default()
            ->id('manage')
            ->path('manage')
            ->login(Login::class)
            ->passwordReset()
            ->registration()
            ->viteTheme('resources/css/filament/manage/theme.css')

vite.config.js:

    plugins: [
        laravel.default({
            input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/manage/theme.css'],
            refresh: [
                ...refreshPaths,
                'app/Filament/**',
                'app/Forms/Components/**',
                'app/Livewire/**',
                'app/Infolists/Components/**',
                'app/Providers/Filament/**',
                'app/Tables/Columns/**',
            ],
        }),
    ],

resources/css/filament/manage/tailwind.config.js:

import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
    presets: [preset],
    content: [
        './app/Filament/Clusters/Products/**/*.php',
        './resources/views/filament/clusters/products/**/*.blade.php',
        './vendor/filament/**/*.blade.php',
        './vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php',
    ],
}
diegobas commented 4 months ago

Maybe a conflict with another plugin?

https://github.com/user-attachments/assets/a7fae65a-dfa6-46f3-a20d-5c13edf52618

PlpadminPanelProvider:

return $panel
            ->default()
            ->id('plpadmin')
            ->path('plpadmin')
            ->login()
            ->databaseNotifications()
            ->colors([
                'primary' => Color::Sky,
                'blue' => Color::Blue,
                'green' => Color::Green,
                'orange' => Color::Orange,
                'red' => Color::Red,
                'yellow' => Color::Yellow,
                'gray' => Color::Gray,
                'indigo' => Color::Indigo,
                'purple' => Color::Purple,
                'pink' => Color::Pink,
                'teal' => Color::Teal,
                'lime' => Color::Lime,
                'emerald' => Color::Emerald,
                'cyan' => Color::Cyan
            ])
            ->viteTheme('resources/css/filament/plpadmin/theme.css')
            ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
            ->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
            ->pages([
                \App\Filament\Pages\Dashboard::class,
            ])
            ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
            ->widgets([
                Widgets\AccountWidget::class,
                Widgets\FilamentInfoWidget::class,
            ])
            ->plugins([
                \BezhanSalleh\FilamentShield\FilamentShieldPlugin::make(),
                \Jeffgreco13\FilamentBreezy\BreezyCore::make()
                    ->enableSanctumTokens(
                        permissions: ['create','view','update'] // optional, customize the permissions (default = ["create", "view", "update", "delete"])
                    )
                    ->myProfile(
                        shouldRegisterUserMenu: true, // Sets the 'account' link in the panel User Menu (default = true)
                        shouldRegisterNavigation: false, // Adds a main navigation item for the My Profile page (default = false)
                        navigationGroup: 'Settings', // Sets the navigation group for the My Profile page (default = null)
                        hasAvatars: false, // Enables the avatar upload form component (default = false)
                        slug: 'profile' // Sets the slug for the profile page (default = 'my-profile')
                    ),

            ])
            ->middleware([
                EncryptCookies::class,
                AddQueuedCookiesToResponse::class,
                StartSession::class,
                AuthenticateSession::class,
                ShareErrorsFromSession::class,
                VerifyCsrfToken::class,
                SubstituteBindings::class,
                DisableBladeIconComponents::class,
                DispatchServingFilamentEvent::class,
            ])
            ->authMiddleware([
                Authenticate::class,
            ]);

vite.config.js

import { defineConfig } from 'vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/css/filament/plpadmin/theme.css',
                'resources/js/app.js'
            ],
            refresh: [
                ...refreshPaths,
                'app/Livewire/**'
            ],
        }),
    ],
});

resources/css/filament/plpadmin/tailwind.config.js:

import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
    presets: [preset],
    content: [
        './app/Filament/**/*.php',
        './resources/views/filament/**/*.blade.php',
        './resources/views/components/**/*.blade.php',
        './vendor/filament/**/*.blade.php',
        './vendor/awcodes/filament-tiptap-editor/resources/**/*.blade.php',
        './vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php',
    ],
}
diogogpinto commented 4 months ago

I will replicate your workflow and see what’s causing this!

diogogpinto commented 4 months ago

I just replicated all the your code and it's working fine, with no issues. Here's my step by step:

  1. Run composer update
  2. Install plugins (Filament Auth Ui, Filament Shield and Filament Breezy)
  3. Create new panel with php artisan make:filament-panel and name it plpadmin
  4. Create a new theme with php artisan make:filament-theme and select the plpadmin panel
  5. Add the following code to my filament panel (replica of your panel)
<?php

namespace App\Providers\Filament;

use DiogoGPinto\AuthUIEnhancer\AuthUIEnhancerPlugin;
use Filament\Http\Middleware\Authenticate;
use Filament\Http\Middleware\DisableBladeIconComponents;
use Filament\Http\Middleware\DispatchServingFilamentEvent;
use Filament\Panel;
use Filament\PanelProvider;
use Filament\Support\Colors\Color;
use Filament\Widgets;
use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse;
use Illuminate\Cookie\Middleware\EncryptCookies;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken;
use Illuminate\Routing\Middleware\SubstituteBindings;
use Illuminate\Session\Middleware\AuthenticateSession;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\View\Middleware\ShareErrorsFromSession;

class PlpadminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->id('plpadmin')
            ->path('plpadmin')
            ->login()
            ->databaseNotifications()
            ->colors([
                'primary' => Color::Sky,
                'blue' => Color::Blue,
                'green' => Color::Green,
                'orange' => Color::Orange,
                'red' => Color::Red,
                'yellow' => Color::Yellow,
                'gray' => Color::Gray,
                'indigo' => Color::Indigo,
                'purple' => Color::Purple,
                'pink' => Color::Pink,
                'teal' => Color::Teal,
                'lime' => Color::Lime,
                'emerald' => Color::Emerald,
                'cyan' => Color::Cyan,
            ])
            ->viteTheme('resources/css/filament/plpadmin/theme.css')
            ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
            ->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
            ->pages([
                \App\Filament\Pages\Dashboard::class,
            ])
            ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
            ->widgets([
                Widgets\AccountWidget::class,
                Widgets\FilamentInfoWidget::class,
            ])
            ->plugins([
                \BezhanSalleh\FilamentShield\FilamentShieldPlugin::make(),
                \Jeffgreco13\FilamentBreezy\BreezyCore::make()
                    ->enableSanctumTokens(
                        permissions: ['create', 'view', 'update'] // optional, customize the permissions (default = ["create", "view", "update", "delete"])
                    )
                    ->myProfile(
                        shouldRegisterUserMenu: true, // Sets the 'account' link in the panel User Menu (default = true)
                        shouldRegisterNavigation: false, // Adds a main navigation item for the My Profile page (default = false)
                        navigationGroup: 'Settings', // Sets the navigation group for the My Profile page (default = null)
                        hasAvatars: false, // Enables the avatar upload form component (default = false)
                        slug: 'profile' // Sets the slug for the profile page (default = 'my-profile')
                    ),
                AuthUIEnhancerPlugin::make(),
            ])
            ->middleware([
                EncryptCookies::class,
                AddQueuedCookiesToResponse::class,
                StartSession::class,
                AuthenticateSession::class,
                ShareErrorsFromSession::class,
                VerifyCsrfToken::class,
                SubstituteBindings::class,
                DisableBladeIconComponents::class,
                DispatchServingFilamentEvent::class,
            ])
            ->authMiddleware([
                Authenticate::class,
            ]);
    }
}
  1. My /vite.config.js file:
import { defineConfig } from 'vite'
import laravel, { refreshPaths } from 'laravel-vite-plugin'

export default defineConfig({
    plugins: [
        laravel.default({
            input: ['resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/plpadmin/theme.css'],
            refresh: [
                ...refreshPaths,
                'app/Filament/**',
                'app/Forms/Components/**',
                'app/Livewire/**',
                'app/Infolists/Components/**',
                'app/Providers/Filament/**',
                'app/Tables/Columns/**',
            ],
        }),
    ],
})
  1. My /resources/css/filament/plpadmin/tailwind.config.js
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default {
    presets: [preset],
    content: [
        './app/Filament/**/*.php',
        './resources/views/filament/**/*.blade.php',
        './vendor/filament/**/*.blade.php',
        './vendor/awcodes/filament-tiptap-editor/resources/**/*.blade.php',
        './vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php',
    ],
}
  1. Go to the root of the project and run npm run build
  2. Here's the result:
Captura de ecrã 2024-10-23, às 18 05 56 Captura de ecrã 2024-10-23, às 18 06 05

I'm closing this for now, because as this is probably a misconfiguration on your end. If you can create a repo that mimics that behaviour and I clone to my machine to test it out, please reopen this issue.

Thank you, let me know if I can help further!

diegobas commented 4 months ago

Problem solved!

I had to remove the file "bootstrap/cache/filament/panels/plpadmin.php" because "php artisan cache:clear" did not.

Thank you for your help and your great work!

diogogpinto commented 4 months ago

Thank you for you feedback @diegobas and kind words!

jaguarman commented 3 months ago

hi, I'd like to use your plugin but I can't see any changes . it is a prerequisite to install: Filament Shield and Filament Breezy?

I use spatie but I'm a newbie, so I'm not sure what the problem might be.

panel name is "app",

I use these moduls/plugins (sse below)

Is there a way I can debug?

Thank you for your work.

best regards Peter

amphp/amp 3.0.2 A non-blocking concurrency framework for PHP applications. amphp/byte-stream 2.1.1 A stream abstraction to make working with non-blocking I/O simple. amphp/cache 2.0.1 A fiber-aware cache API based on Amp and Revolt. amphp/dns 2.2.0 Async DNS resolution for Amp. amphp/parallel 2.3.0 Parallel processing component for Amp. amphp/parser 1.1.1 A generator parser to make streaming parsers simple. amphp/pipeline 1.2.1 Asynchronous iterators and operators. amphp/process 2.0.3 A fiber-aware process manager based on Amp and Revolt. amphp/serialization 1.0.0 Serialization tools for IPC and data storage in PHP. amphp/socket 2.3.1 Non-blocking socket connection / server implementations based on Amp and Revolt. amphp/sync 2.3.0 Non-blocking synchronization primitives for PHP based on Amp and Revolt. amphp/windows-registry 1.0.1 Windows Registry Reader. anourvalar/eloquent-serialize 1.2.27 Laravel Query Builder (Eloquent) serialization archilex/filament-filter-sets 3.7.31 Advanced Tables, previously Filter Sets, supercharges your Filament Tables with advanced tabs, cus... archilex/filament-toggle-icon-column 3.1.1 A toggle icon column for Filament awcodes/filament-sticky-header 2.0.5 A Filament Admin plugin to make headers sticky when scrolling. aymanalhattami/filament-page-with-sidebar 2.5.4 Organize resource pages in sidebar instead of putting all the buttons and links elsewhere in order... barryvdh/laravel-debugbar 3.14.7 PHP Debugbar integration for Laravel blade-ui-kit/blade-heroicons 2.5.0 A package to easily make use of Heroicons in your Laravel Blade views. blade-ui-kit/blade-icons 1.7.2 A package to easily make use of icons in your Laravel Blade views. brianium/paratest 7.6.0 Parallel testing for PHP brick/math 0.12.1 Arbitrary-precision arithmetic library calebporzio/sushi 2.5.2 Eloquent's missing "array" driver. carbonphp/carbon-doctrine-types 3.2.0 Types to use Carbon in Doctrine composer/semver 3.4.3 Semver library that offers utilities, version constraint parsing and validation. danharrin/date-format-converter 0.3.1 Convert token-based date formats between standards. danharrin/livewire-rate-limiting 1.3.1 Apply rate limiters to Laravel Livewire actions. daverandom/libdns 2.1.0 DNS protocol implementation written in pure PHP dflydev/dot-access-data 3.0.3 Given a deep data structure, access data by dot notation. diogogpinto/filament-auth-ui-enhancer 1.0.1 This Filament plugin empowers you to transform your auth pages with ease, allowing you to make the... djl997/blade-shortcuts 1.8.0 Blade Shortcuts is a library of handy Laravel Blade Directives. doctrine/dbal 4.2.1 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspectio... doctrine/deprecations 1.1.3 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable ... doctrine/inflector 2.0.10 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upp... doctrine/lexer 3.0.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers. dragonmantank/cron-expression 3.4.0 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due dutchcodingcompany/filament-developer-logins 1.5.0 Add buttons to the login page of Filament to login as a specific user. egulias/email-validator 4.0.2 A library for validating emails against several RFCs fakerphp/faker 1.24.0 Faker is a PHP library that generates fake data for you. fidry/cpu-core-counter 1.2.0 Tiny utility to get the number of CPU cores. filament/actions 3.2.127 Easily add beautiful action modals to any Livewire component. filament/filament 3.2.127 A collection of full-stack components for accelerated Laravel app development. filament/forms 3.2.127 Easily add beautiful forms to any Livewire component. filament/infolists 3.2.127 Easily add beautiful read-only infolists to any Livewire component. filament/notifications 3.2.127 Easily add beautiful notifications to any Livewire app. filament/spatie-laravel-media-library-plugin 3.2.121 Filament support for spatie/laravel-medialibrary. filament/support 3.2.127 Core helper methods and foundation code for all Filament packages. filament/tables 3.2.127 Easily add beautiful tables to any Livewire component. filament/widgets 3.2.127 Easily add beautiful dashboard widgets to any Livewire component. filp/whoops 2.16.0 php error handling for cool kids fruitcake/php-cors 1.3.0 Cross-origin resource sharing library for the Symfony HttpFoundation graham-campbell/result-type 1.1.3 An Implementation Of The Result Type guava/filament-knowledge-base 1.11.1 A filament plugin that adds a knowledge base and help to your filament panel(s). guzzlehttp/guzzle 7.9.2 Guzzle is a PHP HTTP client library guzzlehttp/promises 2.0.4 Guzzle promises library guzzlehttp/psr7 2.7.0 PSR-7 message implementation that also provides common utility methods guzzlehttp/uri-template 1.0.3 A polyfill class for uri_template of PHP hamcrest/hamcrest-php 2.0.1 This is the PHP port of Hamcrest Matchers hydrat/filament-table-layout-toggle 2.0.1 Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table l... jaybizzle/crawler-detect 1.2.121 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent jean85/pretty-package-versions 2.1.0 A library to get pretty versions strings of installed dependencies jenssegers/agent 2.6.4 Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect joaopaulolndev/filament-edit-profile 1.0.32 Filament package to edit profile josespinal/filament-record-navigation 2.0.4 Record navigation from views kelunik/certificate 1.1.3 Access certificate details and transform between different formats. kirschbaum-development/eloquent-power-joins 4.0.1 The Laravel magic applied to joins. lara-zeus/accordion 1.1.4 Zeus Accordion is filamentphp layout component to group components laravel/breeze 2.2.5 Minimal Laravel authentication scaffolding with Blade and Tailwind. laravel/framework 11.34.2 The Laravel Framework. laravel/pint 1.18.2 An opinionated code formatter for PHP. laravel/prompts 0.3.2 Add beautiful and user-friendly forms to your command-line applications. laravel/sail 1.38.0 Docker files for running a basic Laravel application. laravel/serializable-closure 2.0.0 Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP. laravel/tinker 2.10.0 Powerful REPL for the Laravel framework. league/commonmark 2.5.3 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored... league/config 1.2.0 Define configuration arrays with strict schemas and access values with dot notation league/csv 9.18.0 CSV data manipulation made easy in PHP league/flysystem 3.29.1 File storage abstraction for PHP league/flysystem-local 3.29.0 Local filesystem adapter for Flysystem. league/mime-type-detection 1.16.0 Mime-type detection for Flysystem league/uri 7.4.1 URI manipulation library league/uri-interfaces 7.4.1 Common interfaces and classes for URI representation and interaction leandrocfe/filament-apex-charts 3.1.4 Apex Charts integration for Filament PHP. livewire/livewire 3.5.12 A front-end framework for Laravel. maennchen/zipstream-php 3.1.1 ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the... masterminds/html5 2.9.0 An HTML5 parser and serializer. maximebf/debugbar 1.23.3 Debug bar in the browser for php application mkocansey/bladewind 2.7.6 Laravel UI Components using TailwindCSS, Blade Templates and vanilla Javascript mobiledetect/mobiledetectlib 2.8.45 Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent stri... mockery/mockery 1.6.12 Mockery is a simple yet flexible PHP mock object framework mokhosh/filament-rating 1.4.1 Add rating fields and columns to Filament forms and tables monolog/monolog 3.8.0 Sends your logs to files, sockets, inboxes, databases and various web services myclabs/deep-copy 1.12.1 Create deep copies (clones) of your objects n0sz/commonmark-marker-extension 1.0.1 A marker extension for CommonMark PHP implementation nesbot/carbon 3.8.2 An API extension for DateTime that supports 281 different languages. nette/schema 1.3.2 📐 Nette Schema: validating data structures against a given Schema. nette/utils 4.0.5 🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSO... nikic/php-parser 5.3.1 A PHP parser written in PHP novadaemon/filament-combobox 1.1.2 Side by side combobox multiselect field to use in your FilamentPHP forms nunomaduro/collision 8.5.0 Cli error handling for console/command-line PHP applications. nunomaduro/termwind 2.3.0 Its like Tailwind CSS, but for the console. openspout/openspout 4.28.0 PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way owenvoke/blade-fontawesome 2.7.0 A package to easily make use of Font Awesome in your Laravel Blade views pestphp/pest 3.5.1 The elegant PHP Testing Framework. pestphp/pest-plugin 3.0.0 The Pest plugin manager pestphp/pest-plugin-arch 3.0.0 The Arch plugin for Pest PHP. pestphp/pest-plugin-laravel 3.0.0 The Pest Laravel Plugin pestphp/pest-plugin-mutate 3.0.5 Mutates your code to find untested cases phar-io/manifest 2.0.4 Component for reading phar.io manifest information from a PHP Archive (PHAR) phar-io/version 3.2.1 Library for handling version information and constraints phpdocumentor/reflection-common 2.2.0 Common reflection classes used by phpdocumentor to reflect the code structure phpdocumentor/reflection-docblock 5.6.0 With this component, a library can provide support for annotations via DocBlocks or otherwise retr... phpdocumentor/type-resolver 1.10.0 A PSR-5 based resolver of Class names, Types and Structural Element Names phpoption/phpoption 1.9.3 Option Type for PHP phpstan/phpdoc-parser 2.0.0 PHPDoc parser with support for nullable, intersection and generic types phpunit/php-code-coverage 11.0.7 Library that provides collection, processing, and rendering functionality for PHP code coverage in... phpunit/php-file-iterator 5.1.0 FilterIterator implementation that filters files based on a list of suffixes. phpunit/php-invoker 5.0.1 Invoke callables with a timeout phpunit/php-text-template 4.0.1 Simple template engine. phpunit/php-timer 7.0.1 Utility class for timing phpunit/phpunit 11.4.3 The PHP Unit Testing framework. psr/cache 3.0.0 Common interface for caching libraries psr/clock 1.0.0 Common interface for reading the clock. psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11) psr/event-dispatcher 1.0.0 Standard interfaces for event handling. psr/http-client 1.0.3 Common interface for HTTP clients psr/http-factory 1.1.0 PSR-17: Common interfaces for PSR-7 HTTP message factories psr/http-message 2.0 Common interface for HTTP messages psr/log 3.0.2 Common interface for logging libraries psr/simple-cache 3.0.0 Common interfaces for simple caching psy/psysh 0.12.4 An interactive shell for modern PHP. ralouphie/getallheaders 3.0.3 A polyfill for getallheaders. ramsey/collection 2.0.0 A PHP library for representing and manipulating collections. ramsey/uuid 4.7.6 A PHP library for generating and working with universally unique identifiers (UUIDs). rappasoft/laravel-livewire-tables 3.5.3 A dynamic table component for Laravel Livewire revolt/event-loop 1.0.6 Rock-solid event loop for concurrent PHP applications. ryangjchandler/blade-capture-directive 1.0.0 Create inline partials in your Blade templates with ease. sebastian/cli-parser 3.0.2 Library for parsing CLI options sebastian/code-unit 3.0.1 Collection of value objects that represent the PHP code units sebastian/code-unit-reverse-lookup 4.0.1 Looks up which function or method a line of code belongs to sebastian/comparator 6.2.1 Provides the functionality to compare PHP values for equality sebastian/complexity 4.0.1 Library for calculating the complexity of PHP code units sebastian/diff 6.0.2 Diff implementation sebastian/environment 7.2.0 Provides functionality to handle HHVM/PHP environments sebastian/exporter 6.1.3 Provides the functionality to export PHP variables for visualization sebastian/global-state 7.0.2 Snapshotting of global state sebastian/lines-of-code 3.0.1 Library for counting the lines of code in PHP source code sebastian/object-enumerator 6.0.1 Traverses array structures and object graphs to enumerate all referenced objects sebastian/object-reflector 4.0.1 Allows reflection of object attributes, including inherited and non-public ones sebastian/recursion-context 6.0.2 Provides functionality to recursively process PHP variables sebastian/type 5.1.0 Collection of value objects that represent the types of the PHP type system sebastian/version 5.0.2 Library that helps with managing the version number of Git-hosted PHP projects spatie/color 1.6.1 A little library to handle color conversions spatie/eloquent-sortable 4.4.0 Sortable behaviour for eloquent models spatie/image 3.7.4 Manipulate images with an expressive API spatie/image-optimizer 1.8.0 Easily optimize images using PHP spatie/invade 2.1.0 A PHP function to work with private properties and methods spatie/laravel-medialibrary 11.10.0 Associate files with Eloquent models spatie/laravel-medialibrary-pro 6.0.0 Handle media in a Laravel app spatie/laravel-package-tools 1.16.6 Tools for creating Laravel packages spatie/laravel-permission 6.10.1 Permission handling for Laravel 8.0 and up spatie/php-structure-discoverer 2.2.0 Automatically discover structures within your PHP application spatie/temporary-directory 2.2.1 Easily create, use and destroy temporary directories symfony/clock 7.2.0 Decouples applications from the system clock symfony/console 7.2.0 Eases the creation of beautiful and testable command line interfaces symfony/css-selector 7.2.0 Converts CSS selectors to XPath expressions symfony/deprecation-contracts 3.5.1 A generic function and convention to trigger deprecation notices symfony/error-handler 7.2.0 Provides tools to manage errors and ease debugging PHP code symfony/event-dispatcher 7.2.0 Provides tools that allow your application components to communicate with each other by dispatchin... symfony/event-dispatcher-contracts 3.5.1 Generic abstractions related to dispatching event symfony/finder 7.2.0 Finds files and directories via an intuitive fluent interface symfony/html-sanitizer 7.2.0 Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a documen... symfony/http-foundation 7.2.0 Defines an object-oriented layer for the HTTP specification symfony/http-kernel 7.2.0 Provides a structured process for converting a Request into a Response symfony/mailer 7.2.0 Helps sending emails symfony/mime 7.2.0 Allows manipulating MIME messages symfony/polyfill-ctype 1.31.0 Symfony polyfill for ctype functions symfony/polyfill-intl-grapheme 1.31.0 Symfony polyfill for intl's grapheme_* functions symfony/polyfill-intl-idn 1.31.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions symfony/polyfill-intl-normalizer 1.31.0 Symfony polyfill for intl's Normalizer class and related functions symfony/polyfill-mbstring 1.31.0 Symfony polyfill for the Mbstring extension symfony/polyfill-php80 1.31.0 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions symfony/polyfill-php83 1.31.0 Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions symfony/polyfill-uuid 1.31.0 Symfony polyfill for uuid functions symfony/process 7.2.0 Executes commands in sub-processes symfony/routing 7.2.0 Maps an HTTP request to a set of configuration variables symfony/service-contracts 3.5.1 Generic abstractions related to writing services symfony/string 7.2.0 Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme cl... symfony/translation 7.2.0 Provides tools to internationalize your application symfony/translation-contracts 3.5.1 Generic abstractions related to translation symfony/uid 7.2.0 Provides an object-oriented API to generate and represent UIDs symfony/var-dumper 7.2.0 Provides mechanisms for walking through any arbitrary PHP variable symfony/yaml 7.1.6 Loads and dumps YAML files ta-tikoma/phpunit-architecture-test 0.8.4 Methods for testing application architecture thecodingmachine/safe 2.5.0 PHP core functions that throw exceptions instead of returning FALSE on error theseer/tokenizer 1.2.3 A small library for converting tokenized PHP source code into XML and potentially other formats tijsverkoyen/css-to-inline-styles 2.2.7 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files wi... vlucas/phpdotenv 5.6.1 Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically. voku/portable-ascii 2.0.3 Portable ASCII library - performance optimized (ascii) string functions for php. webmozart/assert 1.11.0 Assertions to validate method input/output with nice error messages.

jaguarman commented 3 months ago

sorry, forgot the vite.config.js

import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin';

export default defineConfig({ plugins: [ laravel({ input: [ 'resources/css/app.css', 'resources/js/app.js', 'resources/css/filament/app/theme.css',

        ],
        refresh: true,
    }),
],

});

and the tailwind.config.js

import preset from '../../../../vendor/filament/filament/tailwind.config.preset'

export default { presets: [preset], content: [ './vendor/archilex/filament-filter-sets//*.php', './app/Filament/*/.php', './resources/views/filament//*.blade.php', './vendor/filament//*.blade.php', './vendor/guava/filament-knowledge-base/src/*/.php', './vendor/guava/filament-knowledge-base/resources//*.blade.php', './vendor/diogogpinto/filament-auth-ui-enhancer/resources/*/.blade.php',

],

}

what might be the problem?