This is a simple repo showing how to connect Flask + Svelte. It boils down to:
route directing any paths not otherwise specified to svelte/publicmain.js of your Svelte project to target #svelte-app or similar (rather than body).<div id='svelte-app'></div> in the relevant Jinja template.That's it!