๐Ÿ“ฆ Talon1024 / Glaive

A winit project template for desktops and web

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ Apache License 2.0
๐Ÿ“ฅ Clone https://github.com/Talon1024/Glaive.git
HTTPS git clone https://github.com/Talon1024/Glaive.git
SSH git clone git@github.com:Talon1024/Glaive.git
CLI gh repo clone Talon1024/Glaive
Kevin Caccamo Kevin Caccamo Import code from async_first 72c61cc 2 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ src
๐Ÿ“ www
๐Ÿ“„ .gitignore
๐Ÿ“„ Cargo.lock
๐Ÿ“„ Cargo.toml
๐Ÿ“„ favicon.ico
๐Ÿ“„ LICENSE.txt
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Glaive

A small template project for winit, which provides a setup compatible with native applications and WebAssembly.

To build your native app:

cargo build

To build the WebAssembly version:

wasm-pack build --target web

To test the WebAssembly version in a browser, run simple-http-server (get it here) in the project root directory, and open http://localhost:8000 in your browser.