Skip to content

Your first page

Add a file to pages/. HTML and Markdown share the same routing and metadata.

Add a title

Place simple scalar front matter at the top of your page:

---
title: My first page
description: A useful introduction.
---

Preview your work

Run npm run dev. Edit a page or shared fragment and the browser reloads after the next successful build.

Publish

Run npm run build and deploy the contents of dist/ to a static host.