On this page
· 1 min read
Installation
This example is a static site: Solid runs at build time via renderToString; the browser loads a small bundle from client.js (see the layouts guide).
Dependencies
@pagesmith/site— the app-facing collection APIs, Zod-backed schemas, markdown pipeline,pagesmithContent/pagesmithSsgVite plugins, and shared assets/runtime behavior used by this example.solid-js— SSR JSX only insrc/entry-server.tsx.pagefind— CLI dependency used bypagesmithSsgwhen indexing the production build output (search UI is omitted in dev; see search integration).
Dev tooling includes vite-plugin-solid, vite-plus, and typescript. See package.json for pinned versions.
Commands
From the monorepo root:
vp installvp run dev:eg:solidFrom this directory:
npm run dev # vite dev — SSR preview, no Pagefind UInpm run build # static HTML + assets + Pagefind indexBuild output goes to ../../../gh-pages/examples/solid per vite.config.ts.
Agent-oriented notes
This directory includes llms.txt — short, example-local guidance for tools working on the @pagesmith/site + Solid integration (virtual modules, SSG contract, Pagefind, client split).