Skip to main content
The fastest way to start is with @aero-js/create, which scaffolds a project, installs dependencies, and prints next steps.
1

Scaffold a project

Run the create command with your project name:
This copies the minimal template into my-app/, rewrites package.json with your project name, and installs dependencies.
To scaffold with Nitro pre-configured for API routes and server deployment, add --template fullstack:
The fullstack template adds Nitro, a root nitro.config.ts, and a preview:api command (with aero.config.ts using @aero-js/core/config).
2

Start the dev server

Open http://localhost:5173 to see your site. Vite’s HMR keeps HTML, CSS, content, and client scripts in sync as you edit.
3

Create your first page

Every .html file in client/pages/ becomes a route. Create client/pages/about.html:
about.html
Visit http://localhost:5173/about — no routing config needed.To add a layout, import it in a <script is:build> block and wrap your content:
pages/about.html
The layout’s <slot /> is replaced with your page content at build time.
4

Build for production

This produces a static dist/ folder. Deploy it to any static host.To preview the build locally:

Commands reference

Next steps

Project structure

Understand how your scaffolded project is organized.

Configuration

Configure the Aero Vite plugin and project options.