Template for Plotters WASM Backend + Svelte (with HMR support) #439
danferns
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I made a template project to showcase how you can use Plotters with the Svelte web framework. It uses
viteandrswwhich together offer a seamless development workflow, featuring automatic hot reloading. You can use the traditional commands:npm run devandnpm run build.Here's the template: svelte-plotters-rs
In addition to the basic requirements (Node.js, Rust, and wasm-pack), you will need to install
concurrentlyandrsw:Hopefully this is helpful to anyone who wishes to integrate Plotters into their frontend projects!
Beta Was this translation helpful? Give feedback.
All reactions