To run the app, do the following:
- Build the rust wasm code by executing the following commands:
cd without-a-bundler
wasm-pack build --target web
- First install the node modules by running
npm install
- run
npm start
- Go to
localhost:8080
in the web browser to see the frontend.
React example gotten from here: https://github.com/rwieruch/minimal-react-webpack-babel-setup
wasm-bindgen example gotten from here: https://github.com/rustwasm/wasm-bindgen.git