npm.io
1.0.3 • Published 7 years ago

generator-oxy-gen

Licence
ISC
Version
1.0.3
Deps
3
Size
489 kB
Vulns
0
Weekly
0

generator-oxy-gen

OXY-GEN is an open-source cli tool that helps developers quickly create native desktop apps using React and Rust!

Here is a demo project generated with this generator.

OXY-GEN Demo Screenshot

Features

Get Started!

Install CRA (>= v2.1.0)

npm install -g create-react-app

Rust Toolchain

Install Rustup
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
Select Nightly Version (for WASM support)
rustup default nightly
Install WASM bindgen and add target
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli

Install Yeoman

npm install -g yo

Install this Generator

npm install -g generator-oxy-gen

Usage

yo oxy-gen

OR

Run the command with --force to overwrite the appropriate files during generation. Otherwise, the user will need to approve each file (Theres's only about 5 or so).

yo oxy-gen --force

And if you prefer yarn to npm, you can use the --yarn flag to set your default package manager.

yo oxy-gen --yarn

Keywords