Getting Started

Project layout


my-site/
  src/
    pages/         # routes (file-based)
      index.lt
      about.lt
    components/    # reusable .lt components
      Layout.lt
      Header.lt
  dict/            # YAML provider source
    en.yml
  lt.config.yml    # provide config
  build.mjs        # SSG entry
    

Build it

node build.mjs

The output goes to dist/: rendered HTML, compiled per-component ES modules under dist/c/, the Worker entry, and a manifest.

What you get

Pure HTML out of the box. Static-host-friendly: every route writes route/index.html. Throw it on Cloudflare Pages, Netlify, Vercel, or any S3 bucket — works.