Best way to include script
Hi, I've registered a custom script like this:
This works, but running
php artisan filament:assets
produces the following type error Filament\Support\Assets\Asset::getPath(): Return value must be of type string, null returned
...Solution:Jump to solution
I did it this way for tracking analytics:
```php
FilamentView::registerRenderHook(
'panels::body.end',
static fn (): View => view('analytics'),...
3 Replies