Registry / web-framework / yew
library0.23.0rscratesunverified

A framework for creating reliable and efficient web applications with Rust and WebAssembly.

# Cargo.toml [dependencies] yew = "0.23.0"
INSTALL
IMPORT
SIG · YEW
Y
yew
web-frameworkrustv0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

html
use yew::prelude::*;

A minimal Yew application that renders a heading.

use yew::prelude::*; #[function_component] fn App() -> Html { html! { <h1>{ "Hello, Yew!" }</h1> } } fn main() { yew::Renderer::<App>::new().render(); }
Debug
Known issues
gotchaRequires WebAssembly target and wasm-bindgen for browser execution.
fix
Build with `wasm-pack build --target web` and serve the generated files.
affects: >=0.23.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
yew — cargo add yew · libregistry