Quickstart
Create a new project with your package manager of choice. You'll be asked to pick a template.
$ npm create vertex@latest my-app$ pnpm create vertex my-app$ yarn create vertex my-appThen start the dev server:
$ cd my-app
$ npm run devVertex needs Node 20 or newer. Run
node -v to check.Project structure
Each file in app/routes becomes a page. Shared pieces go in app/components.
app/
routes/
index.vx # /
shop.vx # /shop
components/
Hero.vx
vertex.lockStreaming with defer
Wrap anything slow in <defer>. The rest of the page renders right away, and the deferred part streams in when its data is ready.
<Page title="Shop">
<Hero />
<defer fallback={{<Skeleton />}}>
<Reviews />
</defer>
</Page>Caching
Export a cache object from any route. Tags let you purge related pages together.
export const cache = {{
maxAge: "5m",
tags: ["products"]
}}Deploy
Link your project once, then every push to your main branch deploys to all regions.
$ npx vertex link
$ git push origin mainWant to try it? Create a free account →