Trunk is a WASM web application bundler for Rust, and Vite.js is next Generation Frontend Tooling. Ok, they are together now for you.
- Install Trunk first:
cargo install --git https://github.com/linux-china/trunk.git
- Start dev server: run
npm install
thennpm run dev
and visit http://localhost:3000
- Wasm build by Trunk
- Web development by Vite.js
- Bundle by Vite.js
- Trunk can still work as his way.
- Trunk: https://trunkrs.dev/
- Vite.js: https://vitejs.dev/
- npm-run-all: https://github.com/mysticatea/npm-run-all