I have recently been working on a personal portfolio website. For this project, I have decided to implement the Three.js library. I have downloaded this library locally on my laptop. Locally, the website runs as intended. I am now at the stage in which I want to deploy the code into github pages. I have tried to add the Three.js library to the repository, however, Github says that there are too many files to add. This causes the HTML and CSS to load properly, however, there is a white screen in place of the Three.js scene.
How do I add the library to the repository, or is this even possible? I have also seen some information regarding using a CDN instead of uploading the library. If this is the optimal solution, how should I go about implementing this?