reference: https://www.youtube.com/watch?v=Mj6hTGo0oGc
- rustup
- rust 1.35.0
- node.js >= 10.x
- npm >= 6.x
rustup install 1.35.0
rustup default 1.35.0
rustup target add wasm32-unknown-unknown
rustup component add rustfmt
rustup component add clippy
cargo install wasm-bindgen-cli
cargo install cargo-watch
git clone <REPOSITORY_URL>
cd rust_wasm_markdown_parser
# Compile rust code
npm run build:wasm-debug
## or
npm run build:wasm-release
# Run webpack-dev-server
npm install
npm run dev
open http://localhost:8080
cargo fmt
MIT