/yew-wasm-pack-template

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

Primary LanguageRustApache License 2.0Apache-2.0

About

This template shows how to create a web app using Yew and wasm-pack.

🚴 Usage

🛠️ Build

When building for the first time, ensure to install dependencies first.

yarn install
yarn run build

🔬 Serve locally

yarn run dev

🔋 Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • wee_alloc, an allocator optimized for small code size.