- create library crate ->
cargo new project --lib
- add library annotation for compiler ->
[lib] crate-type = ["cdylib"]
- create skeleton inside
index.html
and extendscript block
with logic of working with wasm inclusion - install wasm-pack ->
cargo install wasm-pack
- build project with wasm-pack ->
wasm-pack build --target web
- include web server ->
npm install -g http-server
- start server in project root folder ->
http-server .
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple frontend interface connected to a Rust backend via WebAssembly.
License
chemyl/tax_app_webassembly
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple frontend interface connected to a Rust backend via WebAssembly.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published