4 ms·
Are there any examples?
by eamag 2y ago
Are there any examples?
- SeanAnderson 2y agoNot much code to show, but here :) Install: https://github.com/MeoMix/symbiants/blob/master/.devcontainer/Dockerfile#L23 https://github.com/MeoMix/symbiants/blob/master/.devcontaine... Link to the build artifacts: https://github.com/MeoMix/symbiants/blob/master/index.html#L6 https://github.com/MeoMix/symbiants/blob/master/index.html#L... Minor config change to expose loopback for local testing from external device: https://github.com/MeoMix/symbiants/blob/master/Trunk.toml#L3 https://github.com/MeoMix/symbiants/blob/master/Trunk.toml#L... Then `trunk serve` to spin up a server on localhost:8080 with Rust package running in the browser. Release build: https://github.com/MeoMix/symbiants/blob/master/.github/workflows/deploy-page.yaml#L31 https://github.com/MeoMix/symbiants/blob/master/.github/work... Production code: https://ant.care/ https://ant.care/
- paulgb 2y agoThe Yew (React-like framework for Rust) tutorial uses Trunk and I find it to be a pretty good introduction: https://yew.rs/docs/tutorial https://yew.rs/docs/tutorial
- eslaught 2y agoeframe_template uses Trunk for their wasm build: https://github.com/emilk/eframe_template https://github.com/emilk/eframe_template Demo of an application built with Trunk (this is a profiler for a distributed runtime system): https://legion.stanford.edu/prof-viewer/?url=https://sapling.stanford.edu/~eslaught/pennant_gpu_kernels/ https://legion.stanford.edu/prof-viewer/?url=https://sapling...