Source Structure & Key Files

Source Code

index.ts

Main entry point.

  • Initializes SSE

site.ts

Site-wide code that will execute on all pages.

site.scss

Site-wide CSS that will be included on all pages.

route.ts

Routes to handle for specific pages or site sections, like /contact or /blog/*

This maps pages/paths to specific SSE page handlers which do page-specific things.

version.ts

Site engine version number.

Increment this on every publish.

page/... .ts

Page-specific code as triggered by route.ts.

Last updated