Search code examples
hostsvelte

How to host Svelte project to file manager


can someone please help me to explain how to host a Svelte project to file manager. All I can see is a bunch of bundle files in my Build folder, but I dont understand what to upload to file manager so that I can host the site?


Solution

  • For a simple svelte web app, you only need to deploy

    • the index.html
    • the bundle.js
    • the bundle.css
    • the global.css and
    • all static assets like images and fonts (if needed)

    no additional libs or config files are required.