crates/story-web/README.md
Web-based component gallery for GPUI Component library.
Live Demo: https://longbridge.github.io/gpui-component/gallery/
wasm32-unknown-unknown target# Add WASM target
rustup target add wasm32-unknown-unknown
# Install wasm-bindgen-cli
cargo install wasm-bindgen-cli
# Install Bun (macOS/Linux)
curl -fsSL https://bun.sh/install | bash
make dev
This will:
make build-prod
This builds the project with:
/gpui-component/gallery/ for GitHub PagesThe output will be in www/dist/ directory.
The gallery is automatically deployed to GitHub Pages at /gpui-component/gallery/ when docs are released.
The deployment is handled by .github/workflows/release-docs.yml which:
docs/.vitepress/dist/gallery/