I want to install smooth scrollbar js plugin here

I’m working on installing it into my wordpress themes, but it comes with a lot of files. Here is the structure:

-dist
  -smooth-scrollbar.css
  -smooth-scrollbar.js
-lib
  -a ton of files n folders
-src 
  -identical to lib with an extra stylesheet

Do I need to all of these in my WordPress or just the files inside the dist folder.

I’m not sure where to begin, could anyone help explain from scratch?

It has a usage section, but I’m not sure where to put those statements or how to use them properly.

Any help would be appreciated.

Read more here: Installing and using smooth-scollbar.js


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: