Add jQuery to theme: your_theme_name.theme
/** * Add jquery to the file your_theme_name.theme */ function matt_page_alter(&$page) { $page['#attached']['library'][] = 'core/jquery'; }