How it works
What does it mean to import a .svelte file?
A confession: I misled you earlier when I called Svelte a framework. It is a framework, but it’s also a language — a language for describing user interfaces.
But runtimes don’t know how to interpret that language, which is why Svelte is also a compiler.
Let’s take a look at the compiled output of our hello world component: