| Crates.io | create-tailyew-app |
| lib.rs | create-tailyew-app |
| version | 0.1.15 |
| created_at | 2025-05-24 18:52:17.655195+00 |
| updated_at | 2026-01-23 19:20:35.535555+00 |
| description | CLI to scaffold a new Tailyew Yew+Tailwind project |
| homepage | https://tailyew.com/ |
| repository | https://github.com/apjames93/tailyew |
| max_upload_size | |
| id | 1687683 |
| size | 1,660,519 |
A zero-config CLI to scaffold and bootstrap a production-ready TailYew frontend SPA.
π Instantly spin up a modern Yew + TailwindCSS app!
Pure Rust & WASM in production β no JS needed to run your UI.
Note: Tailwindβs CLI (via npm) is still required for development builds, and the dev server runs on Trunk.
Dreaming of a totally Rust-native toolchain? Us too! Weβre open to ideas and contributions.
β Yew 0.22 Ready
Projects scaffolded withcreate-tailyew-appuse Yew 0.22 and TailYew v0.1.43 by default.
create-tailyew-app is the official scaffolding tool for the TailYew component system. It sets up a best-practices Yew + Tailwind starter so you can focus on features, not configuration.
You get:
cargo install create-tailyew-app
Requires Rust 1.65+ and
npmin your PATH.
create-tailyew-app <NAME> [--dest <BASE_DIR>]
NAME β Your new project folder (required)--dest β (Optional) Output directory (default: .)rustup target add wasm32-unknown-unknown # if not already installed
cargo install trunk # if not already installed
create-tailyew-app tailyew-app
cd tailyew-app
npm install # for tailwindcss cli
make run-frontend
This launches your dev server at http://localhost:9001.
<BASE_DIR>/<NAME>/
ββ frontend/
β ββ Cargo.toml # Yew/WASM crate
β ββ tailwind.config.js # TailwindCSS setup (pre-configured for TailYew)
β ββ src/ # Rust app sources
β ββ static/ # HTML, safelist, assets, WASM pkg
β ββ Trunk.toml # Trunk config (dev server/build)
β ββ index.html # Trunk entry point
β ββ Makefile # Frontend build & serve tasks (Trunk + Tailwind)
ββ Makefile # Root orchestrator (run-frontend, lint, format, etc)
ββ README.md # This file
static/tailyew-safelist.html is included for correct dark-mode & dynamic class extraction.
make fe-copy-tailyew-safelist (or inside frontend/ run make copy-tailyew-safelist).dark: utilitiesExplore live components: tailyew.com/demo/getting_started
π§ͺ Dogfooded in production
The TailYew demo site and documentation at tailyew.com are built entirely with TailYew itself. We actively dogfood the library to validate APIs, accessibility, and real-world usage as the system evolves.
cd <BASE_DIR>/<NAME>
make run-frontend
frontend/src, frontend/static)From your project root:
make help ** - in the generated project to see all available targets.make format β Format Rust sourcesmake lint β Lint with Clippymake pretty β Format + Lintmake run-frontend β Serve with hot-reloadmake fe-copy-tailyew-safelist β Refresh the TailYew safelist HTML from your local Cargo registryHelp grow the Rust UI ecosystem:
starter/app/ to change the templatesrc/make pretty to format & lint