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
-
Hello!
I made a template project to showcase how you can use Plotters with the Svelte web framework. It uses
vite
andrsw
which together offer a seamless development workflow, featuring automatic hot reloading. You can use the traditional commands:npm run dev
andnpm 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
concurrently
andrsw
:Hopefully this is helpful to anyone who wishes to integrate Plotters into their frontend projects!
Beta Was this translation helpful? Give feedback.
All reactions