Getting started

Everything you need to set up a project, from installation to your first deploy.

Installation

Install the package with your package manager of choice, then import the components that you need. Everything else stays out of your bundle.

Configuration

A single configuration file controls the build output and environment variables. Most projects only need to change one or two values.

Routing

Each file in the routes folder becomes a page. Dynamic segments use square brackets, and nested folders create nested paths.

Data

Load data on the server and pass it to your pages as props. Requests run in parallel, and the results stay cached between navigations.

Deployment

Build once and deploy anywhere. The output is a static site that any host can serve, with no extra configuration.