src/FieldServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        $this->app['router']->pushMiddlewareToGroup('nova', InterceptFlexibleAttributes::class);
        Nova::serving(function (ServingNova $event) {
            Nova::script('nova-flexible-content', __DIR__.'/../dist/js/field.js');
            Nova::style('nova-flexible-content', __DIR__.'/../dist/css/field.css');
        });
    }
public function boot ( ) { $ this -> app [ 'router' ] -> pushMiddlewareToGroup ( 'nova' , InterceptFlexibleAttributes :: class ) ; Nova :: serving ( function ( ServingNova $ event ) { Nova :: script ( 'nova-flexible-content' , __DIR__ . '/../dist/js/field.js' ) ; Nova :: style ( 'nova-flexible-content' , __DIR__ . '/../dist/css/field.css' ) ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .