source/php/App.php
public function enqueueAdmin()
    {
        // Styles
        wp_register_style('event-integration-admin',
            EVENTMANAGERINTEGRATION_URL . '/dist/' . Helper\CacheBust::name('css/event-manager-integration-admin.css'));
        wp_enqueue_style('event-integration-admin');

        // Scripts
        wp_register_script('event-integration-admin', EVENTMANAGERINTEGRATION_URL . '/dist/' . Helper\CacheBust::name('js/event-integration-admin.js'), true);
        wp_localize_script('event-integration-admin', 'eventintegration', array(
            'ajaxurl' => admin_url('admin-ajax.php')
        ));
        wp_localize_script('event-integration-admin', 'eventIntegrationAdmin', array(
            'loading' => __("Loading", 'event-integration'),
            'options' => array(
                'areaCoordinates' => get_option('event_import_area') ? get_option('event_import_area') : null
            )
        ));
        wp_enqueue_script('event-integration-admin');

        // Re-enqueue Google Maps JS Api with additional libraries: Places, Drawing
        if (isset($_GET['page']) && $_GET['page'] === 'event-options' && $googleApiKey = get_field('google_geocode_key', 'option')) {
            wp_enqueue_script('google-maps-api', '//maps.googleapis.com/maps/api/js?key=' . $googleApiKey . '&libraries=places,drawing', array(), '', true);
        }
    }
public function enqueueAdmin()
    {
        // Styles
        wp_register_style('event-integration-admin',
            EVENTMANAGERINTEGRATION_URL . '/dist/' . Helper\CacheBust::name('css/event-manager-integration-admin.css'));
        wp_enqueue_style('event-integration-admin');

        // Scripts
        wp_register_script('event-integration-admin', EVENTMANAGERINTEGRATION_URL . '/dist/' . Helper\CacheBust::name('js/event-integration-admin.js'), true);
        wp_localize_script('event-integration-admin', 'eventintegration', array(
            'ajaxurl' => admin_url('admin-ajax.php')
        ));
        wp_localize_script('event-integration-admin', 'eventIntegrationAdmin', array(
            'loading' => __("Loading", 'event-integration'),
            'options' => array(
                'areaCoordinates' => get_option('event_import_area') ? get_option('event_import_area') : null
            )
        ));
        wp_enqueue_script('event-integration-admin');

        // Re-enqueue Google Maps JS Api with additional libraries: Places, Drawing
        if (isset($_GET['page']) && $_GET['page'] === 'event-options' && $googleApiKey = get_field('google_geocode_key', 'option')) {
            wp_enqueue_script('google-maps-api', '//maps.googleapis.com/maps/api/js?key=' . $googleApiKey . '&libraries=places,drawing', array(), '', true);
        }
    }
Enqueue required styles and scripts for admin ui
@return void