Public betaCargo + Rust
Getting started
Install from crates.io, scaffold a site, and start the route-aware development loop with `cargo ax run dev`.
Beta API
Axonyx is ready for early sites and docs. The syntax and standard library will still change before 1.0.
Install
Install the project scaffold and Cargo helper.
cargo install create-axonyx cargo install cargo-axonyx
Create a site
Create the site template and start the local dev server.
create-axonyx my-site --yes --template site cd my-site cargo ax run dev
Edit `.ax` pages
Routes live in `app/**/page.ax`. The syntax is JSX-like enough for frontend developers, but lowers into Axonyx runtime output.
page Home\n\n<Container max=\"xl\">\n <Card title=\"Hello Axonyx\">\n <Copy tone=\"lead\">Readable pages, Rust runtime.</Copy>\n </Card>\n</Container>
Check before deploy
Run doctor before sharing or deploying. It checks config, runtime, UI package resolution, stylesheet wiring, and `.ax` diagnostics.
cargo ax doctor cargo ax build --clean