Mar 9, 2022
Thanks for reading. Fair question. The way I see it, a framework runs your code inside it, a library run inside your code, while a compiler takes funky syntax and compiles it to something the browser can understand. Svelte code cannot be understood by the browser hence it compiles into something it can. Their Wiki page is probably a quick but good reference material: https://en.wikipedia.org/wiki/Svelte
SvelteKit, however, now that seems to be a framework. I have yet to try it though.