DDR0 / large-graph-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-wasm-worker-template

Build Status

Kickstart your Rust, WebAssembly, Webpack and Web Worker project!

This template is designed for creating monorepo-style Web applications with Rust-generated WebAssembly running inside a Web Worker and Webpack without publishing your wasm to NPM.

Batteries Included

This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Webpack build pipeline.

  • In ~/www, npm run start -- Serve the project locally for development at http://localhost:8080.

  • In ~/www, npm run build -- Bundle the project (in production mode).

Using This Template

  • In the project base directory, ~, run cargo build.
  • In ~/www, run npm install.

About

License:MIT License


Languages

Language:JavaScript 71.7%Language:HTML 14.8%Language:Rust 10.0%Language:CSS 2.8%Language:Shell 0.6%