@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.2
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.3
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.4
Build for production
dist/ folder. Deploy it to any static host.To preview the build locally:- Static preview
- Fullstack preview (Nitro)
Commands reference
Next steps
Project structure
Understand how your scaffolded project is organized.
Configuration
Configure the Aero Vite plugin and project options.