How do I attach JS and CSS on Slick Views
Picking up from @leymannx (and copy/pasting from the linked answer) here's a more spelled-out solution:

You could use the template_preprocess_views_view() hook to do this:

function THEME_preprocess_views_view(&amp;$vars) {
  $view = &amp;$vars['view'];
  // Make sure it's the correct view
  if ($view-&gt;name == 'my_slick_view') {
    // add needed javascript
    drupal_add_js(drupal_get_path('theme', 'your-theme') . '/your-js.js');
    // add needed stylesheet
    drupal_add_css(drupal_get_path('theme', 'your-theme') . '/your-css.css');
  }
}