So far, we've been working on individual components, or groups of components, in isolation. But to build a complete app, you need more than just components.
That's where SvelteKit comes in. Whereas Svelte is a component framework, SvelteKit is an app framework (or 'metaframework', depending on who you ask) that solves the tricky problems of building something production-ready:
- Server-side rendering
- Data fetching
- Service workers
- TypeScript integration
- Single-page apps
- Library packaging
- Optimised production builds
- Deploying to different hosting providers
- ...and so on
If that sounds complicated, worry not: you've been using SvelteKit this whole time!
initializing... this may take a few seconds