create-rust-parcel

Kickstart your Rust, WebAssembly, and Parcel project!

Usage no npm install needed!

<script type="module">
  import createRustParcel from 'https://cdn.skypack.dev/create-rust-parcel';
</script>

README

rust-parcel-template

Kickstart your Rust, WebAssembly, and Parcel project!

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

  • npm run start -- Serve the project locally for development at http://localhost:1234.

  • npm run build -- Bundle the project (in production mode)

Using This Template

cargo install wasm-pack
npm init rust-parcel my-app