Publish a Svelte Web App with GitLab Pages

1 · Gavin Rehkemper · Feb. 15, 2020, 7:17 p.m.
If you’ve built a Svelte web application and would like to host it, you can do so easily using GitLab Pages. Create and clone a new GitLab repository. Download and extract the Svelte Starter Template into the repository. Since your URL will be at a subdirectory (https://username.gitlab.io/repository-name), make the references to the JS and CSS files in your public/index.html file relative. In other words, remove the leading / from the /global....