Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Yew
  3. yew-wasm-pack-minimal

yew-wasm-pack-minimal

Apache-2.0Rust

A minimal template for creating Yew web apps with wasm-bindgen and wasm-pack, producing simple deployable artifacts.

GitHubGitHub
111 stars23 forks0 contributors

What is yew-wasm-pack-minimal?

yew-wasm-pack-minimal is a minimal template for starting frontend web applications using the Yew framework, Rust, and WebAssembly. It provides the essential code and tooling to build deployable artifacts consisting of a single HTML file, JavaScript file, and WebAssembly file, simplifying the initial setup process for Yew projects.

Target Audience

Rust developers and frontend engineers looking to build web applications with Yew and WebAssembly, who prefer a minimal, unopinionated starting point without integrated web technologies.

Value Proposition

Developers choose this template for its simplicity and clarity, as it demonstrates the minimum necessary setup for Yew with wasm-bindgen and wasm-pack, avoiding the complexity of full-featured templates while ensuring easy deployment.

Overview

A minimal template for starting a Yew project using wasm-bindgen and wasm-pack

Use Cases

Best For

  • Learning the basics of Yew and WebAssembly development
  • Starting a new Yew project with minimal dependencies
  • Creating simple, deployable web apps with Rust and WebAssembly
  • Understanding the build process for Yew using wasm-pack
  • Prototyping frontend applications with Yew
  • Setting up a clean foundation for custom Yew projects

Not Ideal For

  • Teams needing integrated frontend technologies like routing or CSS frameworks out of the box
  • Projects requiring server-side rendering or SEO optimization without additional setup
  • Developers who prefer zero-configuration builds without manual bundling steps

Pros & Cons

Pros

Minimal and Clear Foundation

Contains only essential code, as stated in the README, making it easy to understand and extend without unnecessary complexity.

Clean Deployment Artifacts

Produces single HTML, JavaScript, and WebAssembly files, simplifying deployment for straightforward web apps.

Standard Tool Integration

Leverages wasm-bindgen and wasm-pack, which are standard tools in the Rust WebAssembly ecosystem, ensuring compatibility.

Flexible Testing Options

Includes examples for using Python's HTTP server or Rust-based alternatives like see or miniserve, offering versatility in development.

Cons

Manual Bundling Required

Requires Rollup to generate a single JS file due to wasm-pack limitations, adding an extra step and complexity to the build process, as noted in the README.

Server Configuration Needed

Production servers must be configured to serve WebAssembly with the application/wasm MIME type, which can be a hurdle for deployment, as mentioned in the testing notes.

Lacks Integrated Features

Does not include common web technologies like routing or styling, so developers must add them manually, increasing initial setup time.

Frequently Asked Questions

Quick Stats

Stars111
Forks23
Contributors0
Open Issues2
Last commit3 years ago
CreatedSince 2019

Tags

#template#webassembly#yew-framework#web-app#frontend#rust#wasm-bindgen#wasm-pack

Built With

w
wasm-bindgen
Y
Yew
R
Rust
R
Rollup
w
wasm-pack

Included in

Yew1.6k
Auto-fetched 1 day ago

Related Projects

Create Yew AppCreate Yew App

Set up a modern Yew web app by running one command.

Stars166
Forks13
Last commit7 months ago
rust-yew-axum-tauri-desktoprust-yew-axum-tauri-desktop

Rust + Yew + Axum + Tauri + Tailwindcss, full-stack Rust development for Desktop apps.

Stars165
Forks16
Last commit1 year ago
axum-yew-setupaxum-yew-setup

A starter project that sets up axum and yew for full stack Rust web apps.

Stars142
Forks22
Last commit3 years ago
yew-wasm-pack-templateyew-wasm-pack-template

A template for starting a Yew project to be used with wasm-pack

Stars115
Forks39
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub