All docs pages
Docs

Pages and files

The screens of the app and its images, fonts and other files, served close to every visitor.

In stackly.json and the CLI it is pages. Its use, live or draft, is counted as draft requests; see Live app prices.

pages · always included · Workers static assets

The screens of the app and its images, fonts and other files, served close to every visitor.

Use it

  • Pages are TanStack Start routes in src/routes/. Files under public/ are served as they are.
  • Give every route a head from seo() in src/lib/seo.ts on a public website (see AGENTS.md, Search engines).
  • Render the main content on the server; give images a size and alt text and lazy-load them below the fold.

Limits

  • Static files are cached at the edge; change a file's name or query string to replace it at once.
  • Large files people upload belong in storage, not in the code.

Locally

npm run dev or stackly dev serves the same pages.

All app features