1. 安装环境


1.1. Install wasm-pack

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh


1.2 Install cargo-generate

cargo install cargo-generate


1.3 Install nmp

node-v16.14.0-linux-x64.tar.xz

tar -xvf node-v16.14.0-linux-x64.tar.xz

# PATH += node-v16.14.0-linux-x64/bin

npm --version
8.3.1


2. Hello World