source/php/Module/Event/Event.php
public function script()
    {
        wp_enqueue_script(
            'vendor-pagination',
            EVENTMANAGERINTEGRATION_URL.'/source/js/vendor/simple-pagination/jquery.simplePagination.min.js',
            'jquery',
            false,
            true
        );

        if ($this->template === 'index') {
            // Enqueue React
            class_exists('\Modularity\Helper\React') ?
                \Modularity\Helper\React::enqueue() :
                \EventManagerIntegration\Helper\React::enqueue();

            wp_enqueue_script(
                'modularity-'.$this->slug,
                EVENTMANAGERINTEGRATION_URL.'/dist/'.\EventManagerIntegration\Helper\CacheBust::name(
                    'js/Module/Event/Index.js'
                ),
                array('jquery', 'react', 'react-dom'),
                false,
                true
            );

            wp_localize_script(
                'modularity-'.$this->slug,
                'modEvent',
                array(
                    'moreEvents' => __('More events', 'event-integration'),
                    'noEventsFound' => __('No events found', 'event-integration'),
                    'next' => __('Next', 'event-integration'),
                    'prev' => __('Previous', 'event-integration'),
                    'search' => __('Search', 'event-integration'),
                    'from' => __('From', 'event-integration'),
                    'to' => __('To', 'event-integration'),
                    'date' => __('date', 'event-integration'),
                    'categories' => __('Categories', 'event-integration'),
                    'age' => __('Age', 'event-integration'),
                    'ageGroupDescription' => __(
                        'Filter on events that is targeted for given the age',
                        'event-integration'
                    ),
                    'years' => __('years', 'event-integration'),
                    'selectAge' => __('Select age', 'event-integration'),
                )
            );
        }
    }
public function script()
    {
        wp_enqueue_script(
            'vendor-pagination',
            EVENTMANAGERINTEGRATION_URL.'/source/js/vendor/simple-pagination/jquery.simplePagination.min.js',
            'jquery',
            false,
            true
        );

        if ($this->template === 'index') {
            // Enqueue React
            class_exists('\Modularity\Helper\React') ?
                \Modularity\Helper\React::enqueue() :
                \EventManagerIntegration\Helper\React::enqueue();

            wp_enqueue_script(
                'modularity-'.$this->slug,
                EVENTMANAGERINTEGRATION_URL.'/dist/'.\EventManagerIntegration\Helper\CacheBust::name(
                    'js/Module/Event/Index.js'
                ),
                array('jquery', 'react', 'react-dom'),
                false,
                true
            );

            wp_localize_script(
                'modularity-'.$this->slug,
                'modEvent',
                array(
                    'moreEvents' => __('More events', 'event-integration'),
                    'noEventsFound' => __('No events found', 'event-integration'),
                    'next' => __('Next', 'event-integration'),
                    'prev' => __('Previous', 'event-integration'),
                    'search' => __('Search', 'event-integration'),
                    'from' => __('From', 'event-integration'),
                    'to' => __('To', 'event-integration'),
                    'date' => __('date', 'event-integration'),
                    'categories' => __('Categories', 'event-integration'),
                    'age' => __('Age', 'event-integration'),
                    'ageGroupDescription' => __(
                        'Filter on events that is targeted for given the age',
                        'event-integration'
                    ),
                    'years' => __('years', 'event-integration'),
                    'selectAge' => __('Select age', 'event-integration'),
                )
            );
        }
    }
Enqueue your scripts and/or styles with wp_enqueue_script / wp_enqueue_style