Repository navigation
v1.0.10 - Fix Asset Registration with Nova
What's Changed
Fixed
- Fixed FieldServiceProvider not correctly registering JavaScript assets with Nova
- The previous
$app->resolving()pattern was not working; switched to standardNova::serving()pattern
Root Cause
The Vue components were never being loaded because the service provider wasn't correctly registering the JavaScript file with Nova. This was the actual root cause of the Flexible field issue.
Technical
- Refactored FieldServiceProvider to use the standard Nova asset registration pattern
- Now properly imports
Laravel\Nova\Events\ServingNovaandLaravel\Nova\Nova
Installation
composer require iamgerwin/nova-dependency-container:^1.0.10
php artisan cache:clear
php artisan view:clearVerification
After updating, open browser Developer Tools (F12) and check the Console. You should now see [NovaDependencyContainer] logs when interacting with the form.
Full Changelog: v1.0.9...v1.0.10