I am currently working on a presentation platform hosted by Gitlab. The JavaScript code and the CSS templates shall be in one repository. The user shall open then a new repository based on a template and use the JavaScript code from the "main" repository for the individual presentation webpage. Everything works if its all together in one repository, but I do not know how to call a JavaScript file from another repository without a workaround which is to complicated for the users. So the question is, how can I use other files from another repository in Gitlab. Something like this:
<link rel="stylesheet" href="path_to_main_repo/dist/theme/black.css" id="theme">
Best regards, Jonas