mirror of
https://github.com/KevinMidboe/nova-map-fields.git
synced 2026-03-11 09:35:56 +00:00
29 lines
622 B
PHP
Executable File
29 lines
622 B
PHP
Executable File
<?php
|
|
|
|
namespace Lassehaslev\NovaMapFields;
|
|
|
|
use Laravel\Nova\Nova;
|
|
use Laravel\Nova\Events\ServingNova;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class FieldServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot()
|
|
{
|
|
Nova::serving(function (ServingNova $event) {
|
|
Nova::script('nova-map-fields', __DIR__.'/../dist/js/field.js');
|
|
Nova::style('nova-map-fields', __DIR__.'/../dist/css/field.css');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register()
|
|
{
|
|
}
|
|
}
|