slint/examples/graphicstest/README
2020-05-07 15:07:29 +02:00

19 lines
398 B
Text

To try the WASM build, use these steps:
cargo build --target wasm32-unknown-unknown --bin graphicstest
cd examples/graphicstest
mkdir -p generated
wasm-bindgen ../../target/wasm32-unknown-unknown/debug/graphicstest.wasm --out-dir generated --no-modules
cp index.html generated/
Then serve for example with
cd generated/
python -m SimpleHTTPServer
and go to
http://localhost:8000/index.html