Files
postshop-backend/nova-components/InventoryHistoryItems/src/FieldServiceProvider.php
2026-02-03 15:31:29 +05:00

34 lines
711 B
PHP

<?php
namespace Nurmuhammet\InventoryHistoryItems;
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
class FieldServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Nova::serving(function (ServingNova $event) {
Nova::script('inventory-history-items', __DIR__.'/../dist/js/field.js');
Nova::style('inventory-history-items', __DIR__.'/../dist/css/field.css');
});
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}