Getting Started

Get up and running with WebFluent in under a minute.

Install

Build from source (requires Rust):

git clone https://github.com/user/webfluent.git cd webfluent cargo build --release

The binary is at target/release/wf. Add it to your PATH.


Create a Project

SPA

Interactive App

Dashboard with routing, stores, forms, modals, animations.

wf init my-app -t spa
Static

Static Site

Marketing site with SSG, i18n, blog, contact form.

wf init my-site -t static
PDF

PDF Document

Reports, invoices, docs. Tables, code blocks, auto page breaks.

wf init my-report -t pdf

Build and Serve

cd my-app wf build wf serve

Open http://localhost:3000 in your browser.


Project Structure

my-app/ +-- webfluent.app.json # Config +-- src/ | +-- App.wf # Root (router, layout) | +-- pages/ | +-- components/ | +-- stores/ | +-- translations/ +-- public/ +-- build/