0Pricing
Sveltejs Academy · Lesson

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

  1. What Is Svelte and Why It Compiles
  2. Creating a Project with npm create svelte
  3. Project Structure: src routes static
  4. The Dev Server and Hot Module Replacement
← Back to Sveltejs Academy