0.1.0 • Published 1 year ago

create-rust-web-project v0.1.0

Weekly downloads
-
License
(MIT OR Apache-2....
Repository
github
Last release
1 year ago

Bootstrap your Rust, WebAssembly and Webpack projects!

Forked from rust-webpack-template due to the original project being abandoned.

About

This bootstrapper is designed for creating monorepo-style Web applications with Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.

Usage

You can use this project bootstrapper with npm init:

npm init rust-web-project my-app

For now you can use the original project's documentation to learn about the generated project's layout.

🔋 Batteries Included

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

  • npm start -- Serve the project locally for development at http://localhost:8080. It auto-reloads when you make any changes.

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

  • npm test -- Run the project's unit tests.

0.1.0

1 year ago