Plugin dev
Hi, I am working locally on a plugin which has assets. So in the provider I have
FilamentAsset::register([
Css::make('filament-nested-list-styles', __DIR__ . '/../resources/dist/filament-nested-list.css')->loadedOnRequest(),
Js::make('filament-nested-list-scripts', __DIR__ . '/../resources/dist/filament-nested-list.js'),
], 'invaders-xx/filament-nested-list');
in packageBooted function. Those file exists on disk but when I do a in the view, the system does not find the css file. Did I miss smth ? Thanks3 Replies
Solution
you need to publish them with
php artisan filament:assets
Thanks Adam
it's not the most convient development flow, but it's the best we have for now. cheers.