cargo-node
cargo-node copied to clipboard
A cargo sub command to build, run and deploy rust wasm applications as browser, electron or cordova app.
https://crates.io/crates/web-sys
stdweb is no longer under active development
**Describe the bug** I cannot run the cargo-node versions of OrbTK with the commands provided in the Readme.md because cargo-node cannot install wasm2js. I have following error message: ``` [luminouslizard@lumi...
When running `cargo node --target electron ...`, cargo-node downloads electron into `target/electron` within the crate directory instead of within `CARGO_TARGET_DIR`. When running, it seems to fail to find the downloaded...
I think that a check for `npm` is missing when I compare with the electron code path. The error message is not useful in this case.
Add help
Add help command and print the help to the output. ## command ```sh cargo node help ``` ## output ```sh Cargo node commands: build Compile the current project clear Clear...
The auto installation of cargo-nodes dependencies e.g. wasm2js is not possible on Ubuntu 18.04. There is also an error with sudo.
If you want to load assets and fonts and define it in the Node.toml. cargo-node produces a file error by copying the fonts.
* [ ] Remove unused code * [ ] Move templates to template files *.html, *.js * [ ] Code format output of temlates