The t & e come for free.
- npm
- rust
- wasm-pack
In the root directory of the project run wasm-pack build, this should produce a pkg folder. Next in the www directory install the following modules by running the following.
npm install webpacknpm install webpack-clinpm install copy-webpack-pluginnpm install d3npm install webpack-dev-servernpm install check-dependencies --save-dev
Next, run npm link –local olette and finally npm run build to produce a dist folder. The dist folder is a self-contained website with html, wasm modules, and javascript. Alternatively, npm start in the www directory will start a local server for the frontend.