@aero-js/create, which scaffolds a project, installs dependencies, and prints next steps.
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.Start the dev server
http://localhost:5173 to see your site. Vite’s HMR keeps HTML, CSS, content, and client scripts in sync as you edit.Create your first page
Every Visit The layout’s
.html file in client/pages/ becomes a route. Create client/pages/about.html:about.html
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
<slot /> is replaced with your page content at build time.Commands reference
| Command | Description |
|---|---|
pnpm dev | Start the dev server with HMR |
pnpm build | Build to dist/ (and .output/ with Nitro) |
pnpm preview | Preview the static build |
pnpm preview:api | Preview static + API from one origin (Nitro) |
Next steps
Project structure
Understand how your scaffolded project is organized.
Configuration
Configure the Aero Vite plugin and project options.