Project Structure: src routes static
Explore the directory layout of a SvelteKit project and the purpose of each folder.
Top-Level Folders
A SvelteKit project has these key folders: src/, static/, and config files at the root.
The src Folder
src/ contains all your application code: routes, components, library code, and the app entry point.
All lessons in this course
- What Is Svelte and Why It Compiles
- Creating a Project with npm create svelte
- Project Structure: src routes static
- The Dev Server and Hot Module Replacement