Example website by Frank's Web Studio. Vertex is a fictional product.See what's included in Premium

Docs

Get your first app on the edge.

Everything you need to go from an empty folder to a deployed project in a few minutes.

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-app

Then start the dev server:

terminal
$ cd my-app
$ npm run dev
Vertex 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.

my-app/
app/
  routes/
    index.vx        # /
    shop.vx         # /shop
  components/
    Hero.vx
vertex.lock

Streaming 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.

app/routes/shop.vx
<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.

app/routes/shop.vx
export const cache = {{
  maxAge: "5m",
  tags: ["products"]
}}

Deploy

Link your project once, then every push to your main branch deploys to all regions.

terminal
$ npx vertex link
$ git push origin main

Want to try it? Create a free account →