5.6.1
Install
Clone the public Vesper repo into a repo of your own, install it and run it.
What you need
- Node.js 22.18 or later.
- pnpm.
- Git.
Get the code
The repo address appears here when the theme is released. Then clone it into a folder called my-site, remove its origin remote and run pnpm install.
Then create an empty repo of your own, add it as origin and push:
git remote add origin <your repo URL>
git push -u origin main
You can fork the repo instead, if you like. A fork keeps a link to the original repo on GitHub.
Run it
pnpm dev
Open the address that Astro prints, usually http://localhost:4321.
The demo runs as it is, because its settings turn on sampleContent. That setting allows the demo’s placeholders. Turn it off for your own site. The build then stops on each placeholder that is left, and lists them. See Settings.
Other commands
pnpm check # type-check
pnpm build # build the site into dist/, with the search index
pnpm preview # serve the build, to try search
pnpm test:units # the theme's unit tests
pnpm test:skins # check each accent's values and contrast in every look
pnpm test:adapter # build the selected source and check its content and pages
pnpm test:parity # build every content source and compare content and pages
pnpm test:no-emdash # check that a Markdown build needs no EmDash package
pnpm test:system # check the design system pages
Search works on the built site, not in pnpm dev. Run pnpm build, then pnpm preview.
Shared code
The shared code is in packages/. It is part of your repo, so you can change it as you need: the components and design tokens, the content sources, and the theme plumbing.
Next: Content.