Frontend:
- Remove we_alloce - Replace webpack by rspack
This commit is contained in:
parent
1f03c01d1d
commit
ebdcb6a90a
10 changed files with 60 additions and 100 deletions
|
|
@ -39,6 +39,10 @@ Autoreload: https://actix.rs/docs/autoreload/
|
|||
## WebAssembly
|
||||
|
||||
'frontend' project needs some tools to generate the WebAssembly stuff. Everything is explained here: https://rustwasm.github.io/wasm-bindgen/examples/hello-world.html
|
||||
TODO MVC Example:
|
||||
https://github.com/rustwasm/wasm-bindgen/tree/main/examples/todomvc -> https://rustwasm.github.io/wasm-bindgen/exbuild/todomvc/#/
|
||||
|
||||
Javascript bundler: https://rspack.dev/
|
||||
|
||||
To compile run 'wasm-pack build' in 'frontend' directory
|
||||
To launch node run 'npm run start' in 'frontend/www' directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue