/domafic-rs

Primary LanguageRustMIT LicenseMIT

Domafic - Safe, high-performance, universal web applications

Build Status crates.io

Documentation

Installing Emscripten

Using Domafic in the browser requires Emscripten. To get started with Emscripten, follow the steps detailed here.

Running the Examples

To try the examples in a browser, start by compiling the example to asm.js: cargo build --example todo_mvc --target=asmjs-unknown-emscripten If this is your first time compiling with Emscripten, this may take a while. Once the example is built, open up index_debug.html (for debug builds) or index_release.html (for release builds) and make sure the script src is set to point at the example you want to run. From there it's as simple as opening up your browser and trying it out!