Yew component library for nes.css derived from nes-react
bash
cargo add nes-yew
https://lightsing.github.io/nes-yew/
If you want to use the default font family for nes.css (Press Start 2P), make sure to include that in your app in whatever way you choose. To use Google Font APIs, just stick a
html
<link
href="https://fonts.googleapis.com/css?family=Press+Start+2P"
rel="stylesheet"
/>
in your index.html
.
```rust use nes_yew::*;
fn App() -> Html {
html! {
git clone git@github.com:lightsing/nes-yew.git
npm install
in both the in /example.
trunk serve
then also in /example.
MIT © lightsing