Open silkroadnomad opened 8 months ago
The rust()
vite plugin will build it for you, no need to do it manually
But npm run dev
doesn't work (yet) with wasm + Vite. Try
npm install
npm run build
npm run preview -- --open
(I fixed the docs as I noticed it still said dev
)
I have a justfile in the root that will run all the commands for you.
Install just
then run
just all
I've added a note to the readme (I wasn't prepared for others to try this yet! Thanks for the issues)
I followed https://github.com/PeerPiper/peerpiper/tree/master/examples/svelte-app with
npm i
andnpm run dev
as usual. and successfully started:cargo run --bin peerpiper-server
But the browser was showing me:
Do I have to compile or build peerpiper browser before?