核心是全程使用wasm-pack. 但是wasm-pack 官方安装指南有坑,描述在此. 解决方法是:cargo install wasm-bindgen-cli 然后: 1 wasm-pack new 我的项目名称
確定! 回上一頁